Browse Source

let 'transfer_enable' be an integer

dev
破娃酱 8 years ago
parent
commit
ad892e1223
  1. 2
      mujson_mgr.py

2
mujson_mgr.py

@ -293,7 +293,7 @@ def main():
val = int(value)
except:
pass
user['transfer_enable'] = val * (1024 ** 3)
user['transfer_enable'] = int(val * 1024) * (1024 ** 2)
elif key in ('-h', '--help'):
print_server_help()
sys.exit(0)

Loading…
Cancel
Save