diff options
| author | 2013-05-30 17:41:32 -0300 | |
|---|---|---|
| committer | 2013-05-30 17:41:32 -0300 | |
| commit | 47320d60c110fe6058937f996da750caf669d7ed (patch) | |
| tree | 73288c7b833daa42ac200025ed41c940cc8a76f9 /nikola/plugins/command_install_theme.py | |
| parent | 432fee57865e02af455e877a9597ef730397146c (diff) | |
| parent | f794eee787e9cde54e6b8f53e45d69c9ddc9936a (diff) | |
Merge tag 'upstream/5.4.4'
Upstream version 5.4.4
Diffstat (limited to 'nikola/plugins/command_install_theme.py')
| -rw-r--r-- | nikola/plugins/command_install_theme.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/nikola/plugins/command_install_theme.py b/nikola/plugins/command_install_theme.py index 04a2cce..2a0a0cc 100644 --- a/nikola/plugins/command_install_theme.py +++ b/nikola/plugins/command_install_theme.py @@ -64,6 +64,10 @@ class CommandInstallTheme(Command): def _execute(self, options, args): """Install theme into current site.""" + if requests is None: + print('This command requires the requests package be installed.') + return False + listing = options['list'] url = options['url'] if args: |
