This website works better with JavaScript.
Home
Explore
Help
Sign In
Madiwka
/
csci-backend
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
reporter fix
main
Madiwka3
11 months ago
parent
f582405340
commit
645810a8b9
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
app/db/repository/report.py
+ 4
- 0
app/db/repository/report.py
View File
@@ -260,6 +260,10 @@ def get_pdf(driver_id: int, db: Session):
tasks_info = []
for task in tasks_data:
if task.get("EndDateTime") is None or task["EndDateTime"] == "":
continue
if task.get("StartDateTime") is None or task["StartDateTime"] == "":
continue
task_info = [
f"{task['Id']}",
task["Description"],
Write
Preview
Loading…
Cancel
Save