Add disconnect handling

Had to refactor quite some bits to be able to implement this.
This commit is contained in:
Gina Häußge committed 2018-07-05 17:36:43 +02:00
1 parent e93d2104fd
commit 8eba3fef0a
13 files changed
+327 -315

No files matched your search

+9
View File
@@ -27,3 +27,12 @@ class Script(object):
return None
return content.split("\n")
class UnknownScript(Exception):
def __init__(self, name, *args, **kwargs):
self.name = name
class InvalidScript(Exception):
pass