Fix starting with -c "".

This is a regression introduced in 9b1729c77e.
This commit is contained in:
Florian Bruhin 2015-02-12 13:24:17 +01:00
parent 5a73f5d2c1
commit 0b55f4df77

View File

@ -140,6 +140,7 @@ def init(args):
sys.exit(1)
else:
objreg.register('config', config_obj)
if confdir is not None:
filename = os.path.join(confdir, 'qutebrowser.conf')
save_manager.add_saveable('config', config_obj.save,
config_obj.changed,
@ -160,6 +161,7 @@ def init(args):
sys.exit(1)
else:
objreg.register('key-config', key_config)
if confdir is not None:
filename = os.path.join(confdir, 'keys.conf')
save_manager.add_saveable('key-config', key_config.save,
key_config.changed,