diff options
author | 2015-05-01 18:11:25 +0200 | |
---|---|---|
committer | 2015-05-01 18:11:25 +0200 | |
commit | c126f738bd5be581d5321521eedc9b14a8165a0e (patch) | |
tree | 418989bfa81bfd30085f09102df53f6f58b00f14 /pyload/plugin/extractor/UnRar.py | |
parent | Use 'import' instead 'from' (1) (diff) | |
download | pyload-c126f738bd5be581d5321521eedc9b14a8165a0e.tar.xz |
Use 'import' instead 'from' (2)
Diffstat (limited to 'pyload/plugin/extractor/UnRar.py')
-rw-r--r-- | pyload/plugin/extractor/UnRar.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pyload/plugin/extractor/UnRar.py b/pyload/plugin/extractor/UnRar.py index 83821cdc1..2efba9cd4 100644 --- a/pyload/plugin/extractor/UnRar.py +++ b/pyload/plugin/extractor/UnRar.py @@ -2,11 +2,9 @@ import os import re +import string import subprocess -from glob import glob -from string import digits - from pyload.plugin.Extractor import Extractor, ArchiveError, CRCError, PasswordError from pyload.utils import fs_decode, fs_encode, fs_join @@ -136,7 +134,7 @@ class UnRar(Extractor): self.notifyProgress(int(s)) s = "" # not reading a digit -> therefore restart - elif c not in digits: + elif c not in string.digits: s = "" # add digit to progressstring else: |