Commit ebae498f authored by Benjamin Fischer's avatar Benjamin Fischer
Browse files

bookmarks: use alternative method

parent e57e01ca
......@@ -615,7 +615,7 @@ class FileSystem(object):
config.read(["/etc/vispa/workspace.ini",
self.expand("$HOME/.vispa/workspace.ini")])
if not isinstance(request_dict, dict):
request_dict = {section:True for section in config.sections()}
request_dict = dict.fromkeys(config.sections(), True)
data = {}
for section, name_list in request_dict.iteritems():
if config.has_section(section):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment