diff options
Diffstat (limited to 'pygn2m')
-rwxr-xr-x | pygn2m | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 |