From 13ebe11523aca0a61982ceea502a0753bdbf8cae Mon Sep 17 00:00:00 2001 From: SimplifiedPrivacy Date: Thu, 21 May 2026 14:28:22 -0400 Subject: [PATCH] Bug fix with Manual Ticket Use not producing the location --- gui/{__main__.py => ___main__.py} | 5 +++-- pyproject.toml | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) rename gui/{__main__.py => ___main__.py} (99%) diff --git a/gui/__main__.py b/gui/___main__.py similarity index 99% rename from gui/__main__.py rename to gui/___main__.py index d0f6abe..02dec16 100755 --- a/gui/__main__.py +++ b/gui/___main__.py @@ -11325,8 +11325,9 @@ class TicketOrBillingChoicePage(Page): location = '' try: profile = ProfileController.get(int(profile_id)) - if profile and profile.connection and profile.connection.location: - location = str(profile.connection.location.code) + if profile and profile.connection and profile.location: + all_location_data = profile.location + location = getattr(all_location_data, 'id', None) # going with the location id as an integer except Exception: pass if not location: diff --git a/pyproject.toml b/pyproject.toml index 2f16ad4..6d82176 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "sp-hydra-veil-gui" -version = "2.2.8" +version = "2.2.9" authors = [ { name = "Simplified Privacy" }, ] @@ -12,7 +12,7 @@ classifiers = [ "Operating System :: POSIX :: Linux", ] dependencies = [ - "sp-hydra-veil-core == 2.3.1", + "sp-hydra-veil-core == 2.3.3", "pyperclip ~= 1.9.0", "pyqt6 ~= 6.7.1", "qrcode[pil] ~= 8.2"