catch get exception in cfgfile, not in other places
This commit is contained in:
@@ -85,7 +85,7 @@ def workdir(directory):
|
||||
reverse_sort = False
|
||||
try:
|
||||
reverse_sort = (dir_config.get("Main", "reverse") == 'True')
|
||||
except NoOptionError:
|
||||
except ValueError:
|
||||
reverse_sort = False
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user