ecmwf: need stringpath to read file
1 files changed, 2 insertions(+), 2 deletions(-)

M meteo_scraper/ecmwf_scraper.py
M meteo_scraper/ecmwf_scraper.py +2 -2
@@ 165,10 165,10 @@ def exploit_grib_file_ens(tsa, gribfile)
 
 
 def hres_ecmwfdata_to_refinery(tsa):
-    gribfile_hres = mv.read(FILENAME_HRES)
+    gribfile_hres = mv.read(str(FILENAME_HRES))
     exploit_grib_file_hres(tsa, gribfile_hres)
 
 
 def ens_ecmwfdata_to_refinery(tsa):
-    gribfile_ens = mv.read(FILENAME_ENS)
+    gribfile_ens = mv.read(str(FILENAME_ENS))
     exploit_grib_file_ens(tsa, gribfile_ens)