forked from matiaspl/pyserv
-
Notifications
You must be signed in to change notification settings - Fork 0
DEBUG set to empty string causes crash #62
Copy link
Copy link
Closed
Description
Describe the bug
tftpdaemon crashes if DEBUG var is set to empty string (rather than not present)
To Reproduce
Run
DEBUG= tftpdaemon start
Result
Traceback (most recent call last):
File "/home/sjl/work/goleta_star/tempalt/gs-radar-controller/.venv/bin/tftpdaemon", line 91, in <module>
setup_logging(int(DEBUG), Path(LOG), 'tftpd')
ValueError: invalid literal for int() with base 10: ''
Expected behavior
Initialize DEBUG to default value instead of crashing
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels