Skip to content
Permalink
Browse files
Simplification thanks to Kwpolska.
  • Loading branch information
felixfontein committed Jun 30, 2015
1 parent 5a7a9e8 commit 99cb3810472f1cce2c4c64d9315a6456609dad29
Showing with 1 addition and 1 deletion.
  1. +1 −1 nikola/plugins/command/import_wordpress.py
@@ -139,7 +139,7 @@ def _execute(self, options={}, args=[]):
self.no_downloads = options.get('no_downloads', False)

self.auth = None
if options.get('download_auth', None) is not None:
if options.get('download_auth') is not None:
username_password = options.get('download_auth')
self.auth = tuple(username_password.split(':', 1))
if len(self.auth) < 2:

0 comments on commit 99cb381

Please sign in to comment.