From 9aa823aedecdd6fdb072cb5821e552249ccff154 Mon Sep 17 00:00:00 2001 From: Dipti Date: Sat, 6 Feb 2021 02:01:58 -0800 Subject: [PATCH] corrected filename to str format, was not working earlier, now working. removed unnecessary comments --- py-json/realm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py-json/realm.py b/py-json/realm.py index f5e0736a..4c746bf3 100755 --- a/py-json/realm.py +++ b/py-json/realm.py @@ -1215,7 +1215,7 @@ class L3CXProfile(LFCliBase): old_cx_rx_values = self.__get_rx_values() #instantiate csv file here, add specified column headers - csvfile=open(''+ report_file+'','w') #replace with report file + csvfile=open(str(report_file),'w') csvwriter = csv.writer(csvfile,delimiter=",") csvwriter.writerow(header_row)