Skip to content

Commit

Permalink
Update wbcli.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-abc committed Jan 17, 2022
1 parent 4da31ba commit 4e09215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wbcli.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def main():
parser.add_argument('-a','--audio',action='store_false',help='turn on the background music')
parser.set_defaults(count=1,tribe='',group='')
option=parser.parse_args()
count,tn,gn,mode,mute=option.count,option.tribe,option.group,(option.mode is 'castle'),option.audio
count,tn,gn,mode,mute=option.count,option.tribe,option.group,(option.mode=='castle'),option.audio
if count<=0:parser.error('illegal argument: count')

os.system('ipconfig /flushdns')
Expand Down

0 comments on commit 4e09215

Please sign in to comment.