mirror of
https://gitea.com/Lerking/XtendR.git
synced 2025-07-21 20:51:17 +02:00
#31 Added **self.use_pre_load:bool = False** and pre_load() method.
This commit is contained in:
@@ -13,6 +13,8 @@ class ExamplePlugin(XtendRBase):
|
||||
>>> plugin.stop()
|
||||
ExamplePlugin has stopped!
|
||||
"""
|
||||
self.use_pre_load:bool = False #Indicate that pre-loading isn't neccessary
|
||||
|
||||
def run(self, *args, **kwargs):
|
||||
arglen = len(args)
|
||||
keylen = len(kwargs)
|
||||
@@ -31,3 +33,6 @@ class ExamplePlugin(XtendRBase):
|
||||
|
||||
def stop(self):
|
||||
print("ExamplePlugin has stopped!")
|
||||
|
||||
def pre_load(self):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user