print name of module that was loaded in __init__
This commit is contained in:
parent
f7cb0fd05a
commit
21963fe580
|
@ -38,6 +38,9 @@ class Module(object):
|
|||
# Should do some error handling here.
|
||||
self.rehash = rehash # Is there another way to call the rehash function in dr.botzo?
|
||||
|
||||
# print what was loaded, for debugging
|
||||
print("loaded " + self.__class__.__name__)
|
||||
|
||||
# This is called by __init__ and sets up server.add_global_handlers. Classes
|
||||
# inheriting from Module should implement this and set up the appropriate handlers,
|
||||
# e.g.:
|
||||
|
|
Loading…
Reference in New Issue