mirror of
https://github.com/Garmelon/PFERD.git
synced 2025-09-15 08:22:32 +02:00
Fix crash as soon as first cl or dl token was acquired
This commit is contained in:
@@ -117,12 +117,11 @@ def main() -> None:
|
||||
|
||||
try:
|
||||
pferd = Pferd(config)
|
||||
asyncio.run(pferd.run())
|
||||
except ConfigOptionError as e:
|
||||
log.unlock()
|
||||
log.error(str(e))
|
||||
exit(1)
|
||||
|
||||
try:
|
||||
asyncio.run(pferd.run())
|
||||
except KeyboardInterrupt:
|
||||
log.unlock()
|
||||
log.explain_topic("Interrupted, exiting immediately")
|
||||
|
Reference in New Issue
Block a user