aboutsummaryrefslogtreecommitdiffstats
path: root/pygn2m
diff options
context:
space:
mode:
Diffstat (limited to 'pygn2m')
-rwxr-xr-xpygn2m6
1 files changed, 2 insertions, 4 deletions
diff --git a/pygn2m b/pygn2m
index ffe0573..b51dde3 100755
--- a/pygn2m
+++ b/pygn2m
@@ -44,8 +44,6 @@ def parse_cmdline():
parser.add_argument('-T', '--test',
help='test mode (not send article via SMTP)',
action='store_true')
- parser.add_argument('-d', '--debug',
- action='store_true')
parser.add_argument('-V', '--verbose', help='verbose output',
action='store_true')
@@ -85,12 +83,12 @@ try:
# check if n2m has some file prefercences set on commandline
if args.wlfile is None:
- wl = os.path.expanduser('~/pyg.whitelist')
+ wl = os.path.expanduser(os.path.join(os.path.dirname(__file__), 'pyg.whitelist'))
else:
wl = args.wlfile
if args.logfile is None:
- log = os.path.expanduser('~/pyg.log')
+ log = os.path.expanduser(os.path.join(os.path.dirname(__file__), 'pyg.log'))
else:
log = args.logfile