Bug fix with Manual Ticket Use not producing the location
This commit is contained in:
parent
756b12a226
commit
13ebe11523
2 changed files with 5 additions and 4 deletions
|
|
@ -11325,8 +11325,9 @@ class TicketOrBillingChoicePage(Page):
|
||||||
location = ''
|
location = ''
|
||||||
try:
|
try:
|
||||||
profile = ProfileController.get(int(profile_id))
|
profile = ProfileController.get(int(profile_id))
|
||||||
if profile and profile.connection and profile.connection.location:
|
if profile and profile.connection and profile.location:
|
||||||
location = str(profile.connection.location.code)
|
all_location_data = profile.location
|
||||||
|
location = getattr(all_location_data, 'id', None) # going with the location id as an integer
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
if not location:
|
if not location:
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "sp-hydra-veil-gui"
|
name = "sp-hydra-veil-gui"
|
||||||
version = "2.2.8"
|
version = "2.2.9"
|
||||||
authors = [
|
authors = [
|
||||||
{ name = "Simplified Privacy" },
|
{ name = "Simplified Privacy" },
|
||||||
]
|
]
|
||||||
|
|
@ -12,7 +12,7 @@ classifiers = [
|
||||||
"Operating System :: POSIX :: Linux",
|
"Operating System :: POSIX :: Linux",
|
||||||
]
|
]
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"sp-hydra-veil-core == 2.3.1",
|
"sp-hydra-veil-core == 2.3.3",
|
||||||
"pyperclip ~= 1.9.0",
|
"pyperclip ~= 1.9.0",
|
||||||
"pyqt6 ~= 6.7.1",
|
"pyqt6 ~= 6.7.1",
|
||||||
"qrcode[pil] ~= 8.2"
|
"qrcode[pil] ~= 8.2"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue