diff options
Diffstat (limited to 'src/wikiget/parse.py')
| -rw-r--r-- | src/wikiget/parse.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wikiget/parse.py b/src/wikiget/parse.py index 09c0767..f5c221d 100644 --- a/src/wikiget/parse.py +++ b/src/wikiget/parse.py @@ -30,8 +30,9 @@ def get_dest(dl, args): filename = url.path site_name = url.netloc if args.site is not wikiget.DEFAULT_SITE: - # this will work even if the user specifies 'commons.wikimedia.org' - logging.warning("target is a URL, ignoring site specified with --site") + # this will work even if the user specifies 'commons.wikimedia.org' since + # we're comparing objects instead of values (is not vs. !=) + logging.warning("Target is a URL, ignoring site specified with --site") else: filename = dl site_name = args.site |
