Removed a manual file handler pitfall
This commit is contained in:
@ -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 = ' '
|
||||
|
Reference in New Issue
Block a user