Spaces:
Runtime error
Runtime error
Update foodlist.py
#2
by onefan - opened
- foodlist.py +1 -1
foodlist.py
CHANGED
|
@@ -38,7 +38,7 @@ def get_data(query, tag, cent):
|
|
| 38 |
if data['total'] == 0:
|
| 39 |
print(url)
|
| 40 |
print(js)
|
| 41 |
-
|
| 42 |
if len(data['results']) == 0:
|
| 43 |
print(url)
|
| 44 |
else:
|
|
|
|
| 38 |
if data['total'] == 0:
|
| 39 |
print(url)
|
| 40 |
print(js)
|
| 41 |
+
else:
|
| 42 |
if len(data['results']) == 0:
|
| 43 |
print(url)
|
| 44 |
else:
|