Commit cf9ee528 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Merge pull request #100 from mruwek/column-ui-cfg

Don't concatenate column layout configs
parents bc278dfb fb792426
...@@ -41,15 +41,18 @@ def columns(): ...@@ -41,15 +41,18 @@ def columns():
cp = configparser.RawConfigParser(defaults) cp = configparser.RawConfigParser(defaults)
files = [ files = [
"/etc/topydo_columns.conf",
home_config_path('.config/topydo/columns'),
home_config_path('.topydo_columns'),
".topydo_columns",
"topydo_columns.conf",
"topydo_columns.ini", "topydo_columns.ini",
"topydo_columns.conf",
".topydo_columns",
home_config_path('.topydo_columns'),
home_config_path('.config/topydo/columns'),
"/etc/topydo_columns.conf",
] ]
cp.read(files) for filename in files:
if cp.read(filename):
break
column_list = [] column_list = []
for column in cp.sections(): for column in cp.sections():
......
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