File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 1515 label : " Show all games with empty search"
1616 defaultValue : " true"
1717 description : " Shows all games when search Query is empty and the Action Keyword is used"
18+ - type : checkbox
19+ attributes :
20+ name : Debug
21+ label : " Debug"
22+ defaultValue : " false"
23+ description : " Enable Debug logging"
Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ def query(self, query):
1414 self ._steam = Steam (self .settings .get ('steam_path' , None ))
1515 if not self .settings .get ('steam_path' ):
1616 self .settings ['steam_path' ] = str (self ._steam .path )
17+ debug = self .settings .get ('debug' , False )
18+ if debug :
19+ self .logger_level = 'DEBUG'
1720 games = self ._steam .all_games ()
1821 users = self ._steam .loginusers ()
1922 most_recent_user = users .most_recent () or users [0 ]
You can’t perform that action at this time.
0 commit comments