Skip to content

Commit

Permalink
jovian-greeter: actually set up logging
Browse files Browse the repository at this point in the history
  • Loading branch information
K900 committed Nov 17, 2023
1 parent 4e1f560 commit 332e223
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/jovian-greeter/greeter.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ def _find_sessions(self, sessions: Iterable[str]) -> Optional[Session]:
return None

if __name__ == '__main__':
logging.basicConfig(level=logging.DEBUG)

if len(sys.argv) != 2:
logging.error("Usage: jovian-greeter <user>")
sys.exit(1)
Expand Down

0 comments on commit 332e223

Please sign in to comment.