configurator.py 288 B

12345678
  1. import pickle
  2. active_drp = input('ACTIVE DRP: ').strip()
  3. # active_status = input('ACTIVE STATUS: ').strip()
  4. active_status = None
  5. app_id = int(input('APP ID: '))
  6. with open('config', 'wb') as f:
  7. pickle.dump({'addons': {'drp': active_drp, 'status': active_status}, 'app_id': app_id}, f)