Bug fix with Manual Ticket Use not producing the location

This commit is contained in:
SimplifiedPrivacy 2026-05-21 14:28:22 -04:00
parent 756b12a226
commit 13ebe11523
2 changed files with 5 additions and 4 deletions

View file

@ -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:

View file

@ -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"