summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-04-18 00:09:39 +0200
committermathieui <mathieui@mathieui.net>2012-04-18 00:09:39 +0200
commit54a43ab13209721129b961cc7dfb441a70cf7cb5 (patch)
treed7f553403dfb6d64c99e806c19a45bee100899e5
parentaef2a905d1a1c54a747d7ed0e07f3e123acac75c (diff)
downloadpoezio-54a43ab13209721129b961cc7dfb441a70cf7cb5.tar.gz
poezio-54a43ab13209721129b961cc7dfb441a70cf7cb5.tar.bz2
poezio-54a43ab13209721129b961cc7dfb441a70cf7cb5.tar.xz
poezio-54a43ab13209721129b961cc7dfb441a70cf7cb5.zip
Remove if len(list) in command_theme
-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: