diff options
Diffstat (limited to 'Demo')
-rwxr-xr-x | Demo/scripts/newslist.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Demo/scripts/newslist.py b/Demo/scripts/newslist.py index 312fd0d..4c5376d 100755 --- a/Demo/scripts/newslist.py +++ b/Demo/scripts/newslist.py @@ -95,6 +95,13 @@ sublistsize = 4 # That should be all. # ####################################################################### +for dir in os.curdir, os.environ['HOME']: + rcfile = os.path.join(dir, '.newslistrc.py') + if os.path.exists(rcfile): + print rcfile + execfile(rcfile) + break + from nntplib import NNTP from stat import * |