Moved a few other views and some bugfixes from this refactoring

This commit is contained in:
2020-02-17 00:00:03 +01:00
parent b6cb2dbce5
commit 46fd628f11
7 changed files with 69 additions and 56 deletions
+2 -2
View File
@@ -38,9 +38,9 @@ class Message:
self._args = []
def msg(message_class, params):
def msg(message_class, *params):
def callback(event):
message = message_class(params)
message = message_class(*params)
if not issubclass(type(message), Message):
window.console.log("Not scheduling a Message type, this will not work!")
return