Fix for fix, not UnicodeEncodingError (where did I get that from?) but UnicodeDecodeError.

This commit is contained in:
Nathan Letwory
2010-10-13 22:20:34 +00:00
parent a97af1449c
commit a90f876948
3 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ MAX_TIMEOUT = 10
INCREMENT_TIMEOUT = 1
try:
system = platform.system()
except UnicodeEncodingError:
except UnicodeDecodeError:
import sys
system = sys.platform