File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ def _sync_offline_file(country):
111111 print ("Files do not exist. Gathering new data." )
112112 try :
113113 data = _gather_energy_data (country , start_time , end_time )
114- if data :
114+ if not data . empty :
115115 data .to_csv (csv_file_path , index = False )
116116 first_start_time1 = data .iloc [0 ]["startTime" ]
117117 last_start_time1 = data .iloc [- 1 ]["startTime" ]
Original file line number Diff line number Diff line change 11[tool .poetry ]
22name = " codegreen_core"
3- version = " 0.0.7 "
3+ version = " 0.0.8 "
44description = " This package helps you become aware of the carbon footprint of your computation"
55authors = [" Anne Hartebrodt <anne.hartebrodt@fau.de>" ," Shubh Vardhan Jain <shubh.v.jain@fau.de>" ]
66readme = " README.md"
You can’t perform that action at this time.
0 commit comments