moved the sys calls to the main zeus.py file so they will be set at the start of the program

This commit is contained in:
ekultek 2017-12-09 22:21:31 -06:00
parent a302562893
commit 6e2e13a2c7

View file

@ -1,6 +1,7 @@
#!/usr/bin/env python
import io
import sys
import time
import shlex
import warnings
@ -43,6 +44,11 @@ warnings.simplefilter("ignore")
if __name__ == "__main__":
# this will take care of most of the Unicode errors.
reload(sys)
sys.setdefaultencoding("utf-8")
sys.setrecursionlimit(1500)
opt = ZeusParser.cmd_parser()
ZeusParser().single_show_args(opt)