Add disconnect handling
Had to refactor quite some bits to be able to implement this.
This commit is contained in:
1 parent
e93d2104fd
commit
8eba3fef0a
13 files changed
+327
-315
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user