diff options
Diffstat (limited to 'pyload/plugin/hoster/PremiumTo.py')
-rw-r--r-- | pyload/plugin/hoster/PremiumTo.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/plugin/hoster/PremiumTo.py b/pyload/plugin/hoster/PremiumTo.py index 750e965d2..59fd37459 100644 --- a/pyload/plugin/hoster/PremiumTo.py +++ b/pyload/plugin/hoster/PremiumTo.py @@ -2,7 +2,7 @@ from __future__ import with_statement -from os import remove +import os from pyload.plugin.internal.MultiHoster import MultiHoster from pyload.utils import fs_encode @@ -45,7 +45,7 @@ class PremiumTo(MultiHoster): file = fs_encode(self.lastDownload) with open(file, "rb") as f: err = f.read(256).strip() - remove(file) + os.remove(file) if err: self.fail(err) |