diff --git a/zeus.py b/zeus.py index dee5127..8a4bc67 100755 --- a/zeus.py +++ b/zeus.py @@ -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)