Update app.py
Browse files
app.py
CHANGED
|
@@ -1851,10 +1851,10 @@ def from_shop_st():
|
|
| 1851 |
shop_st = result[0] if result[0] else '{}'
|
| 1852 |
shop_st_data = json.loads(shop_st)
|
| 1853 |
else:
|
| 1854 |
-
shop_st_data = {
|
| 1855 |
|
| 1856 |
if del_flag == '1':
|
| 1857 |
-
shop_st_data = {
|
| 1858 |
elif order and status:
|
| 1859 |
shop_st_data[order] = status
|
| 1860 |
|
|
|
|
| 1851 |
shop_st = result[0] if result[0] else '{}'
|
| 1852 |
shop_st_data = json.loads(shop_st)
|
| 1853 |
else:
|
| 1854 |
+
shop_st_data = {}
|
| 1855 |
|
| 1856 |
if del_flag == '1':
|
| 1857 |
+
shop_st_data = {}
|
| 1858 |
elif order and status:
|
| 1859 |
shop_st_data[order] = status
|
| 1860 |
|