Spaces:
Running
Running
Update components/middleware.py
Browse files- components/middleware.py +1 -1
components/middleware.py
CHANGED
|
@@ -246,7 +246,7 @@ class x401Kit(BaseHTTPMiddleware):
|
|
| 246 |
if signverify == True and tokenverify == True:
|
| 247 |
|
| 248 |
|
| 249 |
-
if geo_code==
|
| 250 |
|
| 251 |
country=GEOCODER(coords)
|
| 252 |
print(country)
|
|
|
|
| 246 |
if signverify == True and tokenverify == True:
|
| 247 |
|
| 248 |
|
| 249 |
+
if geo_code=="TRUE":
|
| 250 |
|
| 251 |
country=GEOCODER(coords)
|
| 252 |
print(country)
|