summaryrefslogtreecommitdiff
path: root/src/core/commands.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-09 20:10:07 +0200
committermathieui <mathieui@mathieui.net>2014-04-09 20:10:07 +0200
commitd1609b97e4b2f6a34cfa6756a856317b35196603 (patch)
tree22d8775d61e3b8cdc6f4016a2d0d3bb158dbf9cb /src/core/commands.py
parentf165d3a4a0dd2bcd6fe0a080821e317e136d81cb (diff)
downloadpoezio-d1609b97e4b2f6a34cfa6756a856317b35196603.tar.gz
poezio-d1609b97e4b2f6a34cfa6756a856317b35196603.tar.bz2
poezio-d1609b97e4b2f6a34cfa6756a856317b35196603.tar.xz
poezio-d1609b97e4b2f6a34cfa6756a856317b35196603.zip
Fix #2497/#2498 (/theme should return an error when loading fails)
It was actually doing that for old python version but not recent onces
Diffstat (limited to 'src/core/commands.py')
-rw-r--r--src/core/commands.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/commands.py b/src/core/commands.py
index 5be95207..68a6eacf 100644
--- a/src/core/commands.py
+++ b/src/core/commands.py
@@ -173,10 +173,6 @@ def command_theme(self, arg=''):
args = arg.split()
if args:
self.command_set('theme %s' % (args[0],))
- warning = theming.reload_theme()
- if warning:
- self.information(warning, 'Warning')
- self.refresh_window()
def command_win(self, arg):
"""