3
0

app_control.py 250 B

12345678
  1. # this is the main cleanup function to cleanup the application once shutdonw
  2. def myCar_exit(config):
  3. import configparser
  4. with open('data/etc/myCar.conf', 'w') as configfile:
  5. config.write(configfile)
  6. print('system cleanup done')