danyoung commited on
Commit
dcc5799
1 Parent(s): f5e0fc0

Changed cache_dir to use mkdir not makedirs

Browse files
Files changed (1) hide show
  1. app/app.py +1 -1
app/app.py CHANGED
@@ -28,7 +28,7 @@ server = app.server
28
  df = pd.read_csv(constants.DATA_FILE_PATH, index_col=constants.INDEX_COLS)
29
 
30
  cache_dir = os.path.join(os.path.dirname(__file__), "../cache_dir")
31
- os.makedirs(cache_dir)
32
  regionmask.set_options(cache_dir=cache_dir)
33
  countries_df = regionmask.defined_regions.natural_earth_v5_0_0.countries_110.to_dataframe()
34
 
 
28
  df = pd.read_csv(constants.DATA_FILE_PATH, index_col=constants.INDEX_COLS)
29
 
30
  cache_dir = os.path.join(os.path.dirname(__file__), "../cache_dir")
31
+ os.mkdir(cache_dir)
32
  regionmask.set_options(cache_dir=cache_dir)
33
  countries_df = regionmask.defined_regions.natural_earth_v5_0_0.countries_110.to_dataframe()
34