diff --git a/main.py b/main.py index 3c79c78..afa2c71 100644 --- a/main.py +++ b/main.py @@ -11,11 +11,11 @@ def check_pyside_installed(): def start_gui(): import gui - gui.main(exif_file) + gui.main() def start_tui(): import tui - tui.main(exif_file, tui_settings_file) + tui.main() def main(): parser = ArgumentParser(description="Start the Optima35 application.") @@ -41,13 +41,4 @@ def main(): start_tui() if __name__ == "__main__": - if os.path.isfile("config/exif.yaml"): - exif_file = "config/exif.yaml" - elif os.path.isfile("config/exif_example.yaml"): - exif_file = "config/exif_example.yaml" - print("Fall back to exif example file...") - else: - print("Exif file missing, please ensure an exif file exist in config folder (exif.yaml, or exif_example_yaml)\nExiting...") - exit() - tui_settings_file = "config/tui_settings.yaml" main()