aboutsummaryrefslogtreecommitdiff
path: root/lmlib.py
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2020-03-10 16:52:22 -0400
committerB Stack <bgstack15@gmail.com>2020-03-10 16:52:22 -0400
commit86d9bf400c78ad535adaf0da82a31a149d8795f7 (patch)
tree8c7352ad8b863b25b921fb72ff63cf6d6ab614be /lmlib.py
parentadd zeroindex bool (diff)
downloadlogout-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.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lmlib.py b/lmlib.py
index fe6d4a4..7c9dc1e 100644
--- a/lmlib.py
+++ b/lmlib.py
@@ -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']
bgstack15