diff options
Diffstat (limited to 'pyload/plugin/extractor')
-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: |