Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 5d8d2a9

Browse files
committed
fix
1 parent 52867d9 commit 5d8d2a9

File tree

1 file changed

+1
-1
lines changed
  • nowcasting_dataset/data_sources/gsp

1 file changed

+1
-1
lines changed

nowcasting_dataset/data_sources/gsp/eso.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_gsp_metadata_from_eso(
5858

5959
local_file = f"{os.path.dirname(os.path.realpath(__file__))}/eso_metadata.csv"
6060

61-
if not os.path.isdir(local_file):
61+
if not os.path.isfile(local_file):
6262
logger.debug("There is no local file so going to get it from ESO, and save it afterwards")
6363
load_local_file = False
6464
save_local_file = True

0 commit comments

Comments
 (0)