From a6e047b16569802fdbfa16bbbbf44fb2a6e5d1a8 Mon Sep 17 00:00:00 2001 From: Stefano Date: Sun, 15 Sep 2013 11:07:09 -0700 Subject: Merge pull request #218 from vuolter/s/plugin/coreconfig Use config instead core.config for plugins (cherry picked from commit 511f0e17eb598b078a48a6eac0fdab5438cf539c) Conflicts: pyload/plugins/addons/ClickAndLoad.py --- pyload/plugins/hoster/ARD.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pyload/plugins/hoster/ARD.py') diff --git a/pyload/plugins/hoster/ARD.py b/pyload/plugins/hoster/ARD.py index 4404994b3..12cb6c95a 100644 --- a/pyload/plugins/hoster/ARD.py +++ b/pyload/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] -- cgit v1.2.3