From 54a43ab13209721129b961cc7dfb441a70cf7cb5 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 18 Apr 2012 00:09:39 +0200 Subject: Remove if len(list) in command_theme --- src/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 """ args = arg.split() - if len(args) == 1: + if args: self.command_set('theme %s' % (args[0],)) warning = theming.reload_theme() if warning: -- cgit v1.2.3