mirror of
https://github.com/norohind/EDMC_SpanshRouter.git
synced 2026-10-22 18:02:08 +03:00
Trim system names to avoid errors due to blank spaces
This commit is contained in:
1 parent
ed942e18f5
commit
ec1f76b683
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user