summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.py b/src/core.py
index d700d9dc..c36531c0 100644
--- a/src/core.py
+++ b/src/core.py
@@ -1592,7 +1592,7 @@ class Core(object):
def command_theme(self, arg):
"""/theme <theme name>"""
args = arg.split()
- if len(args) == 1:
+ if args:
self.command_set('theme %s' % (args[0],))
warning = theming.reload_theme()
if warning: