mirror of
https://github.com/gnh1201/caterpillar.git
synced 2025-02-11 09:25:00 +00:00
Update server.py
This commit is contained in:
parent
8d0b9472a2
commit
4993806c22
|
@ -549,13 +549,6 @@ class Extension():
|
|||
def dispatch(self, type, id, method, rpcdata):
|
||||
print ("[*] Not implemented")
|
||||
|
||||
class RPCMethod():
|
||||
methods = []
|
||||
|
||||
@classmethod
|
||||
def register(cls, m):
|
||||
cls.methods.append(
|
||||
|
||||
if __name__== "__main__":
|
||||
# load extensions (filters, rcpmethods)
|
||||
Extension.register(importlib.import_module("plugins.fediverse").Fediverse())
|
||||
|
|
Loading…
Reference in New Issue
Block a user