summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2013-08-02 01:03:54 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2013-09-03 23:07:54 +0200
commit6a6ec88816afecf43430e63908e8b2330b567b5f (patch)
tree849fa07d37b8eeebfed11a4b4426d8990b9da323 /module/plugins/hoster
parentBitshareCom: fixes (diff)
downloadpyload-6a6ec88816afecf43430e63908e8b2330b567b5f.tar.xz
Plugins: core.config -> config
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/ARD.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/ARD.py b/module/plugins/hoster/ARD.py
index 4404994b3..12cb6c95a 100644
--- a/module/plugins/hoster/ARD.py
+++ b/module/plugins/hoster/ARD.py
@@ -40,7 +40,7 @@ class RTMP:
class ARD(Hoster):
__name__ = "ARD Mediathek"
- __version__ = "0.11"
+ __version__ = "0.12"
__pattern__ = r"http://www\.ardmediathek\.de/.*"
__config__ = []
@@ -67,9 +67,9 @@ class ARD(Hoster):
location = save_join(download_folder, pyfile.package().folder)
if not os.path.exists(location):
- os.makedirs(location, int(self.core.config["permission"]["folder"], 8))
+ os.makedirs(location, int(self.config["permission"]["folder"], 8))
- if self.core.config["permission"]["change_dl"] and os.name != "nt":
+ if self.config["permission"]["change_dl"] and os.name != "nt":
try:
uid = getpwnam(self.config["permission"]["user"])[2]
gid = getgrnam(self.config["permission"]["group"])[2]