Skip to content

Commit a7ef0ad

Browse files
committed
Cleanup
1 parent 19c86c2 commit a7ef0ad

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

resotodata/__main__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ def get_ccfdataset() -> dict:
230230
if not shutil.which(tool):
231231
raise RuntimeError(f"{tool} not found in path")
232232

233-
ccfdataset = {}
234233
ccfrepo = "https://github.com/cloud-carbon-footprint/cloud-carbon-footprint.git"
235234

236235
export_ts = """import {
@@ -281,8 +280,7 @@ def get_ccfdataset() -> dict:
281280
["./node_modules/.bin/ts-node", "export.ts"], cwd=tmpdir, check=True, capture_output=True, text=True
282281
)
283282

284-
ccfdataset = json.loads(result.stdout)
285-
return ccfdataset
283+
return json.loads(result.stdout)
286284

287285

288286
if __name__ == "__main__":

0 commit comments

Comments
 (0)