rss2email/rss2email-use-configpy-from-homedir.patch
Thorsten Leemhuis 8bd78119e3 - update to 2.65
- recreate rss2email-use-configpy-from-homedir.patch
2009-01-06 19:59:25 +00:00

13 lines
372 B
Diff

--- rss2email.py.org 2009-01-05 20:15:15.000000000 +0100
+++ rss2email.py 2009-01-06 20:55:15.000000000 +0100
@@ -227,8 +227,9 @@
### Load the Options ###
# Read options from config file if present.
-import sys
+import sys, os
sys.path.insert(0,".")
+sys.path.insert(0,os.path.join(os.environ["HOME"],".rss2email/"));
try:
from config import *
except: