Whitespace fixes.
This commit is contained in:
parent
44b21374cb
commit
94b51128d1
@ -142,10 +142,9 @@ def init(args):
|
|||||||
objreg.register('config', config_obj)
|
objreg.register('config', config_obj)
|
||||||
if confdir is not None:
|
if confdir is not None:
|
||||||
filename = os.path.join(confdir, 'qutebrowser.conf')
|
filename = os.path.join(confdir, 'qutebrowser.conf')
|
||||||
save_manager.add_saveable('config', config_obj.save,
|
save_manager.add_saveable(
|
||||||
config_obj.changed,
|
'config', config_obj.save, config_obj.changed,
|
||||||
config_opt=('general', 'auto-save-config'),
|
config_opt=('general', 'auto-save-config'), filename=filename)
|
||||||
filename=filename)
|
|
||||||
try:
|
try:
|
||||||
key_config = keyconf.KeyConfigParser(confdir, 'keys.conf')
|
key_config = keyconf.KeyConfigParser(confdir, 'keys.conf')
|
||||||
except (keyconf.KeyConfigError, UnicodeDecodeError) as e:
|
except (keyconf.KeyConfigError, UnicodeDecodeError) as e:
|
||||||
@ -163,10 +162,9 @@ def init(args):
|
|||||||
objreg.register('key-config', key_config)
|
objreg.register('key-config', key_config)
|
||||||
if confdir is not None:
|
if confdir is not None:
|
||||||
filename = os.path.join(confdir, 'keys.conf')
|
filename = os.path.join(confdir, 'keys.conf')
|
||||||
save_manager.add_saveable('key-config', key_config.save,
|
save_manager.add_saveable(
|
||||||
key_config.changed,
|
'key-config', key_config.save, key_config.changed,
|
||||||
config_opt=('general', 'auto-save-config'),
|
config_opt=('general', 'auto-save-config'), filename=filename)
|
||||||
filename=filename)
|
|
||||||
|
|
||||||
datadir = standarddir.get(QStandardPaths.DataLocation, args)
|
datadir = standarddir.get(QStandardPaths.DataLocation, args)
|
||||||
state_config = ini.ReadWriteConfigParser(datadir, 'state')
|
state_config = ini.ReadWriteConfigParser(datadir, 'state')
|
||||||
|
Loading…
Reference in New Issue
Block a user