Skip to content

Commit

Permalink
report config file and include paths during startup
Browse files Browse the repository at this point in the history
  • Loading branch information
ultrabug committed Mar 24, 2019
1 parent 79efdff commit 340c2da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py3status/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,7 @@ def setup(self):

# read i3status.conf
config_path = self.config["i3status_config_path"]
self.log("config file: {}".format(self.config["i3status_config_path"]))
self.config["py3_config"] = process_config(config_path, self)

# setup i3status thread
Expand Down Expand Up @@ -600,6 +601,7 @@ def setup(self):
self.py3_modules = self.config["py3_config"]["py3_modules"]

# get a dict of all user provided modules
self.log("modules include paths: {}".format(self.config["include_paths"]))
user_modules = self.get_user_configured_modules()
if self.config["debug"]:
self.log("user_modules={}".format(user_modules))
Expand Down

0 comments on commit 340c2da

Please sign in to comment.