Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -121,6 +121,7 @@ async def background_worker(sheeturl, image_contents, filename, content_type, ap
|
|
| 121 |
user_doc = users_ref.document(sheetID)
|
| 122 |
# get the 'total_uploaded' field from the user's document
|
| 123 |
user_data = user_doc.get().to_dict()
|
|
|
|
| 124 |
if user_data is None:
|
| 125 |
logging.info('user not found')
|
| 126 |
await record_failure('', 'User not found.', sheetID)
|
|
|
|
| 121 |
user_doc = users_ref.document(sheetID)
|
| 122 |
# get the 'total_uploaded' field from the user's document
|
| 123 |
user_data = user_doc.get().to_dict()
|
| 124 |
+
logging.info(user_data)
|
| 125 |
if user_data is None:
|
| 126 |
logging.info('user not found')
|
| 127 |
await record_failure('', 'User not found.', sheetID)
|