Skip to content

Commit 5ac98ab

Browse files
committed
change
1 parent 9d91be7 commit 5ac98ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing_utils/delphi_utils/check_covidcast_port.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
API_KEY = os.environ.get("DELPHI_API_KEY", os.environ.get("DELPHI_EPIDATA_KEY"))
1919
covidcast.use_api_key(API_KEY)
2020
Epidata.auth = ("epidata", API_KEY)
21-
CURRENT_DIR = Path(__file__).parent
22-
if not Path(f"{CURRENT_DIR}/covidcast_result").is_dir():
23-
os.mkdir(f"{CURRENT_DIR}/covidcast_result")
21+
DIR = Path(__file__).parent
22+
if not Path(f"{DIR}/covidcast_result").is_dir():
23+
os.mkdir(f"{DIR}/covidcast_result")
2424

2525

2626
def _parse_datetimes(df: pd.DataFrame, col: str, date_format: str = "%Y%m%d") -> pd.Series:

0 commit comments

Comments
 (0)