diff --git a/SumasenLibs/excel_lib/sumaexcel/sumaexcel.py b/SumasenLibs/excel_lib/sumaexcel/sumaexcel.py index b85ef32..6c8c1ca 100644 --- a/SumasenLibs/excel_lib/sumaexcel/sumaexcel.py +++ b/SumasenLibs/excel_lib/sumaexcel/sumaexcel.py @@ -350,6 +350,9 @@ class SumasenExcel: # checkinパスの場合 elif value.startswith('checkin/'): return os.path.join("/app/media", value) + # goalsパスの場合 + elif value.startswith('goals/'): + return os.path.join("/app/media", value) # ファイル名のみの場合 elif re.search(r'\.(jpg|jpeg|png|gif|bmp|mpo)$', value, re.I): return os.path.join("/app/media/compressed", value)