gui.py 208 B

12345678910
  1. import sys
  2. from kivy.factory import Factory
  3. def error_exit_gui(config) -> None:
  4. popup = Factory.ErrorPopup()
  5. popup.message.text = config
  6. popup.open()
  7. popup.error_exit = lambda: sys.exit(1)