Created Custom Initializer (markdown)

Manuel83
2017-06-25 22:13:41 +02:00
parent 19df49d11b
commit 68f06c0568
+11
@@ -0,0 +1,11 @@
If you just want to run some code once during startup you can extend CraftBeerPi with custom Initializers
```
from modules import cbpi
@cbpi.initalizer()
def init(cbpi):
## YOUR CODE GOES HERE
pass
```