Update app.py
Browse files
app.py
CHANGED
|
@@ -216,7 +216,6 @@ Palette_img = np.zeros((200,200,3)).astype(np.uint8)
|
|
| 216 |
Palette_img[:] = 128
|
| 217 |
|
| 218 |
def submitPhoto(img, rooms, seshid):
|
| 219 |
-
seshid = str(time.time()) if not seshid or seshid == 'SESHID' else seshid
|
| 220 |
sesh = getSesh(seshid)
|
| 221 |
print('submitPhoto reset rooms: ', rooms, seshid, sesh.seshid)
|
| 222 |
sesh.current_img_signature = str(img.sum())
|
|
|
|
| 216 |
Palette_img[:] = 128
|
| 217 |
|
| 218 |
def submitPhoto(img, rooms, seshid):
|
|
|
|
| 219 |
sesh = getSesh(seshid)
|
| 220 |
print('submitPhoto reset rooms: ', rooms, seshid, sesh.seshid)
|
| 221 |
sesh.current_img_signature = str(img.sum())
|