Spaces:
Running
Running
Jiang
Copilot
commited on
Update main.py
Browse filesCo-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
main.py
CHANGED
|
@@ -81,7 +81,7 @@ async def root(
|
|
| 81 |
# 如果没有指定日期范围,默认加载今天的日志
|
| 82 |
if from_date is None and to_date is None:
|
| 83 |
today = beijing().date().strftime("%Y-%m-%d")
|
| 84 |
-
from_date = today #
|
| 85 |
to_date = today
|
| 86 |
print(f"[root] No date range specified, using today: {from_date} to {to_date}")
|
| 87 |
|
|
|
|
| 81 |
# 如果没有指定日期范围,默认加载今天的日志
|
| 82 |
if from_date is None and to_date is None:
|
| 83 |
today = beijing().date().strftime("%Y-%m-%d")
|
| 84 |
+
from_date = today # 今天的日志
|
| 85 |
to_date = today
|
| 86 |
print(f"[root] No date range specified, using today: {from_date} to {to_date}")
|
| 87 |
|