Removed a manual file handler pitfall

This commit is contained in:
naelsondouglas
2021-11-02 20:47:44 -03:00
parent 82d695183c
commit 21390819fa

View File

@ -252,7 +252,7 @@ def load_images(img_names):
return {}
for image_name in img_names:
img = open(image_name)
with open(image_name) as img:
loaded_imgs = {}
img_list = ''
img_line = ' '