more overhaul work
This commit is contained in:
parent
34d7c4c9dd
commit
0bd7db4a9a
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,3 +1,4 @@
|
|||
venv
|
||||
*.csv
|
||||
*.pdf
|
||||
projects.txt
|
||||
|
|
|
|||
|
|
@ -281,7 +281,7 @@ class TimeLogix:
|
|||
|
||||
def export_to_csv(self):
|
||||
try:
|
||||
with open("time_entries.csv", "w", newline="") as csvfile:
|
||||
with open("working_sessions.csv", "w", newline="") as csvfile:
|
||||
fieldnames = ["task", "project", "start_time", "end_time", "duration"]
|
||||
writer = csv.DictWriter(csvfile, fieldnames=fieldnames)
|
||||
writer.writeheader()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue