Skip to content

Commit 37e69ec

Browse files
committed
feat: Update export file name to include "-summary"
1 parent 6dd5f0b commit 37e69ec

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

drishti/includes/module.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
#!/usr/bin/env python3
22

3-
import datetime
43
import csv
4+
import datetime
55
import time
6+
67
import pandas as pd
78
from rich import box
89
from rich.syntax import Syntax
10+
11+
from rich.syntax import Syntax
12+
913
from drishti.includes.config import *
1014

1115
'''
@@ -1903,7 +1907,7 @@ def export_csv(export_dir, filename, jobid=None):
19031907

19041908

19051909
os.makedirs(export_dir, exist_ok=True) # Ensure export directory exists
1906-
filepath = os.path.join(export_dir, f"{filename}.csv")
1910+
filepath = os.path.join(export_dir, f"{filename}-summary.csv")
19071911

19081912
with open(filepath, 'w') as f:
19091913
w = csv.writer(f)

0 commit comments

Comments
 (0)