shadowsocks/switchrule.py
2015-11-27 16:47:08 +08:00

8 lines
270 B
Python

def getKeys():
return ['port', 'u', 'd', 'transfer_enable', 'passwd', 'enable' ]
#return ['port', 'u', 'd', 'transfer_enable', 'passwd', 'enable', 'plan' ] # append the column name 'plan'
def isTurnOn(row):
return True
#return row['plan'] == 'B' # then judge here