diff options
author | B Stack <bgstack15@gmail.com> | 2020-03-10 16:52:22 -0400 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2020-03-10 16:52:22 -0400 |
commit | 86d9bf400c78ad535adaf0da82a31a149d8795f7 (patch) | |
tree | 8c7352ad8b863b25b921fb72ff63cf6d6ab614be /lmlib.py | |
parent | add zeroindex bool (diff) | |
download | logout-manager-86d9bf400c78ad535adaf0da82a31a149d8795f7.tar.gz logout-manager-86d9bf400c78ad535adaf0da82a31a149d8795f7.tar.bz2 logout-manager-86d9bf400c78ad535adaf0da82a31a149d8795f7.zip |
use /etc/default/logout-manager and conf files
Diffstat (limited to 'lmlib.py')
-rw-r--r-- | lmlib.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,7 +15,7 @@ import configparser, platform, os -logout_manager_version="2019-06-21a" +logout_manager_version="2020-03-10a" class Actions: @@ -192,10 +192,10 @@ def get_gtk3_default_icon_theme(): print("Found gtk3 default theme:",name) return name -def Initialize_config(): +def Initialize_config(infile): # Read config config_in = configparser.ConfigParser() - config_in.read('logout-manager.conf') + config_in.read(infile) config = Config() try: ci = config_in['logout-manager'] |