Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ralsina committed Jun 5, 2015
1 parent aa06862 commit 1503aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nikola/plugins/command/version.py
Expand Up @@ -61,7 +61,7 @@ class CommandVersion(Command):
def _execute(self, options={}, args=None):
"""Print the version number."""
print("Nikola v" + __version__)
if options['check']:
if options.get('check'):
if requests is None:
req_missing(['requests'], 'check for updates')
exit(1)
Expand Down

0 comments on commit 1503aaf

Please sign in to comment.