void-packages/srcpkgs/sabnzbd/patches/sabnzbd-00-system-configobj...

23 lines
624 B
Diff

--- sabnzbd/config.py.orig
+++ sabnzbd/config.py
@@ -30,7 +30,7 @@
from urlparse import urlparse
import sabnzbd.misc
from sabnzbd.constants import CONFIG_VERSION, NORMAL_PRIORITY, DEFAULT_PRIORITY, MAX_WIN_DFOLDER
-from sabnzbd.utils import configobj
+import configobj
from sabnzbd.decorators import synchronized
CONFIG_LOCK = threading.Lock()
--- sabnzbd/rss.py.orig
+++ sabnzbd/rss.py
@@ -35,7 +35,7 @@
import sabnzbd.emailer as emailer
from sabnzbd.encoding import unicoder, xml_name
-import sabnzbd.utils.feedparser as feedparser
+import feedparser
__RSS = None # Global pointer to RSS-scanner instance