Spaces:
Running on Zero
Running on Zero
Update runtime/scheduler.py
Browse files- runtime/scheduler.py +1 -1
runtime/scheduler.py
CHANGED
|
@@ -19,7 +19,7 @@ LOG_FILE = get_log_file_path()
|
|
| 19 |
|
| 20 |
def upload_and_rotate_logs():
|
| 21 |
date_str = datetime.now().strftime("%Y%m%d")
|
| 22 |
-
upload_filename = f"app-{date_str}.
|
| 23 |
|
| 24 |
current_log_dir = os.path.dirname(LOG_FILE)
|
| 25 |
upload_path = os.path.join(current_log_dir, upload_filename)
|
|
|
|
| 19 |
|
| 20 |
def upload_and_rotate_logs():
|
| 21 |
date_str = datetime.now().strftime("%Y%m%d")
|
| 22 |
+
upload_filename = f"app-{date_str}.log"
|
| 23 |
|
| 24 |
current_log_dir = os.path.dirname(LOG_FILE)
|
| 25 |
upload_path = os.path.join(current_log_dir, upload_filename)
|