fallback to classic for old preferences
authorthomasv <thomasv@gitorious>
Sun, 15 Sep 2013 11:52:58 +0000 (13:52 +0200)
committerthomasv <thomasv@gitorious>
Sun, 15 Sep 2013 11:52:58 +0000 (13:52 +0200)
electrum

index dd02ac0..c3a8675 100755 (executable)
--- a/electrum
+++ b/electrum
@@ -121,6 +121,7 @@ if __name__ == '__main__':
 
     if cmd == 'gui':
         gui_name = config.get('gui','classic')
+        if gui_name in ['lite', 'qt']: gui_name = 'classic'
         try:
             gui = __import__('electrum_gui.gui_' + gui_name, fromlist=['electrum_gui'])
         except ImportError: