camstream/camstream.py

10 lines
236 B
Python
Raw Normal View History

2022-02-20 16:21:11 +00:00
from classes.config import Config
from classes.server import ImageServer
def main():
cfg = Config.fromFile("settings.ini")
server = ImageServer(cfg.source, cfg.fallback)
server.start()
if __name__ == "__main__":
main()