|
@@ -65,7 +65,7 @@ def stats_download(): # Will convert database data in csv and response csv file
|
|
|
).filter(ActivityStatistics.TestRunUUID == test_stat.TestRunUUID).all()
|
|
|
test_json = test_stat.to_json()
|
|
|
for key in testrun_headers:
|
|
|
- data.append(str(test_json[key]))
|
|
|
+ data.append(f'"{str(test_json[key])}"')
|
|
|
for activity_stat in activity_stats:
|
|
|
activity_json = activity_stat.to_json()
|
|
|
for key in activity_json:
|
|
@@ -76,7 +76,7 @@ def stats_download(): # Will convert database data in csv and response csv file
|
|
|
if key not in activities:
|
|
|
data.append(str(0))
|
|
|
else:
|
|
|
- data.append(str(activities[key]))
|
|
|
+ data.append(f'"{str(activities[key])}"')
|
|
|
if _ == 0:
|
|
|
headers = []
|
|
|
for key in testrun_headers:
|