diff --git a/lib/utils.py b/lib/utils.py index 11e09d5..9ccfdb5 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -206,6 +206,10 @@ def cleanString(toclean): return cleaned def decodeArgumentStrings(options, encoding): + # Python crash when decding from UTF-8 to UTF-8, so we prevent this + if "utf-8" == encoding.lower(): + return; + if options["--name"] is not None: options["--name"] = options["--name"].decode(encoding)