mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2025-12-06 07:42:03 +01:00
13 lines
277 B
Python
13 lines
277 B
Python
|
|
#!/usr/bin/python
|
||
|
|
# -*- coding: cp1252 -*-
|
||
|
|
|
||
|
|
import time
|
||
|
|
import pluginloader
|
||
|
|
|
||
|
|
while True:
|
||
|
|
time.sleep(1)
|
||
|
|
print ("Alarm!")
|
||
|
|
for i in pluginloader.getPlugins():
|
||
|
|
print("Loading plugin " + i["name"])
|
||
|
|
plugin = pluginloader.loadPlugin(i)
|
||
|
|
plugin.run()
|