mirror of
https://github.com/norohind/EDMC_SpanshRouter.git
synced 2025-04-20 19:17:36 +03:00
Trim system names to avoid errors due to blank spaces
This commit is contained in:
parent
ed942e18f5
commit
ec1f76b683
@ -118,7 +118,7 @@ class AutoCompleter(Entry, PlaceHolder):
|
||||
self.lb_up = False
|
||||
|
||||
def query_systems(self):
|
||||
inp = self.var.get()
|
||||
inp = self.var.get().strip()
|
||||
if inp != self.placeholder and inp.__len__() >= 3:
|
||||
url = "https://spansh.co.uk/api/systems?"
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user