Spaces:
Sleeping
Sleeping
Update google_api_deploy.py
Browse files- google_api_deploy.py +2 -2
google_api_deploy.py
CHANGED
|
@@ -68,7 +68,7 @@ def monitor_google_doc(service, file_id):
|
|
| 68 |
while True:
|
| 69 |
current_content = read_google_doc(service, file_id)
|
| 70 |
if current_content != last_content:
|
| 71 |
-
|
| 72 |
-
|
| 73 |
time.sleep(10)
|
| 74 |
|
|
|
|
| 68 |
while True:
|
| 69 |
current_content = read_google_doc(service, file_id)
|
| 70 |
if current_content != last_content:
|
| 71 |
+
return current_content
|
| 72 |
+
last_content = current_content
|
| 73 |
time.sleep(10)
|
| 74 |
|