Skip to content

Commit

Permalink
removing debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
aldo committed Dec 1, 2024
1 parent 17df812 commit 16c2f97
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions BackEndFlask/Functions/exportCsv.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,6 @@ def _format(self) -> None:
# Adding the column name. Noitice that done and comments is skipped since they are categories but are not important.
column_name += [i for i in self._singular[Csv_Data.JSON.value] if (i != "done" and i !="comments")]

with open("ap.txt", 'w') as out:
print(self._singular, file=out)

self._writer.writerow(column_name)

row_info = None
Expand All @@ -276,8 +273,8 @@ class CSV_Type(Enum):
Description: This is the enum for the different types of csv file formats the clients have requested.
"""
RATING_CSV = 0
OCS_SFI_CSV = 2
COMMENTS_CSV = 1
OCS_SFI_CSV = 1
COMMENTS_CSV = 2

def create_csv_strings(at_id:int, type_csv:int=1) -> str:
"""
Expand Down

0 comments on commit 16c2f97

Please sign in to comment.