#!/usr/bin/python3

import os, sys
import logging
from powerpi import Powerpi

logging.basicConfig(level=logging.INFO)

if __name__=="__main__":
    ppi = Powerpi()
    if ppi.initialize():
        sys.exit(1)
    else:
        sys.exit(0)
        

#!/usr/bin/python3

import os, sys
import logging
from powerpi import Powerpi

logging.basicConfig(level=logging.INFO)

if __name__=="__main__":
    ppi = Powerpi()
    if ppi.initialize():
        sys.exit(1)
    else:
        sys.exit(0)
        

#!/usr/bin/python3