run.py 221 Bytes
Newer Older
1
2
3
4
from app import Meteorologger
import sys

if __name__ == '__main__':
Nelso Jost's avatar
Nelso Jost committed
5
6
7
8
    if '--syncrtc' in sys.argv:
        Meteorologger().sync_rtc()
    else:
        Meteorologger(verbose = False if '-s' in sys.argv else True).run()