summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ExtractArchive.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-02 04:22:19 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-10-02 04:22:19 +0200
commitab695d17397e101447102877cdd282d825051035 (patch)
tree28f9f62ffc57888b76ca32540dbf5af3a4cfc8d0 /module/plugins/hooks/ExtractArchive.py
parent[UptoboxCom] Fix https://github.com/pyload/pyload/issues/1530 and https://git... (diff)
downloadpyload-ab695d17397e101447102877cdd282d825051035.tar.xz
[Account] Improve parse_traffic method + code cosmetics
Diffstat (limited to 'module/plugins/hooks/ExtractArchive.py')
-rw-r--r--module/plugins/hooks/ExtractArchive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/ExtractArchive.py b/module/plugins/hooks/ExtractArchive.py
index b5a714533..9c662a897 100644
--- a/module/plugins/hooks/ExtractArchive.py
+++ b/module/plugins/hooks/ExtractArchive.py
@@ -7,7 +7,7 @@ import sys
# monkey patch bug in python 2.6 and lower
# http://bugs.python.org/issue6122 , http://bugs.python.org/issue1236 , http://bugs.python.org/issue1731717
-if sys.version_info < (2, 7) and os.name != "nt":
+if sys.version_info < (2, 7) and os.name is not "nt":
import errno
import subprocess