diff --git a/plugins/interface.txt b/plugins/interface.txt index d8b7718..264d490 100644 --- a/plugins/interface.txt +++ b/plugins/interface.txt @@ -75,4 +75,12 @@ def run(typ,freq,data): @return: nothing @exception: nothing, make sure this function will never thrown an exception - """ \ No newline at end of file + """ + + +Global Functions for plugins: +----------------------------- +from includes import helper #Global helper functions + + +helper.curtime("FORMAT") \ No newline at end of file diff --git a/plugins/template/template.py b/plugins/template/template.py index b20c3eb..dfe104a 100644 --- a/plugins/template/template.py +++ b/plugins/template/template.py @@ -23,6 +23,7 @@ import logging # Global logger from includes import globals # Global variables +#from includes import helper #Global helper functions ## #