bacnet/web_settings.py
changeset 2703 32ffdb32b14e
parent 2686 703ebf57508a
--- a/bacnet/web_settings.py	Tue Dec 22 14:53:15 2020 +0100
+++ b/bacnet/web_settings.py	Mon Jul 13 13:56:42 2020 +0200
@@ -295,7 +295,7 @@
 
 
 # location_str is replaced by extension's value in CTNGenerateC call
-def _runtime_bacnet_websettings_%(location_str)s_init():
+def _runtime_%(location_str)s_bacnet_websettings_init():
     """
     # Callback function, called (by PLCObject.py) when a new PLC program
     # (i.e. XXX.so file) is transfered to the PLC runtime
@@ -383,7 +383,7 @@
 
 
 # location_str is replaced by extension's value in CTNGenerateC call
-def _runtime_bacnet_websettings_%(location_str)s_cleanup():
+def _runtime_%(location_str)s_bacnet_websettings_cleanup():
     """
     # Callback function, called (by PLCObject.py) when a PLC program is unloaded from memory
     """