Skip to content

Conversation

bitwalt
Copy link
Contributor

@bitwalt bitwalt commented Apr 30, 2023

When config_file is None we get
TypeError: init() should return None, not 'UnboundLocalError' since cfileis None on
self._in_key = cfile["in_key"]

Also added a check on the existence of the file

@bitkarrot bitkarrot merged commit e0ffcc0 into lightningames:main May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants