Parcourir la source

fix expected extension

Jérôme BUISINE il y a 3 ans
Parent
commit
cbf0d1facd
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      run/extract_specific_png.py

+ 1 - 1
run/extract_specific_png.py

@@ -35,7 +35,7 @@ def main():
         # replace expected Samples value
         img_data = img.split('-')
         img_data[-2] = "S" + p_samples
-        img_data[-1] = output_index
+        img_data[-1] = output_index + ".png"
 
         output_path = '-'.join(img_data)