Fix for fix, not UnicodeEncodingError (where did I get that from?) but UnicodeDecodeError.
This commit is contained in:
@@ -34,7 +34,7 @@ MAX_TIMEOUT = 10
|
||||
INCREMENT_TIMEOUT = 1
|
||||
try:
|
||||
system = platform.system()
|
||||
except UnicodeEncodingError:
|
||||
except UnicodeDecodeError:
|
||||
import sys
|
||||
system = sys.platform
|
||||
|
||||
|
Reference in New Issue
Block a user