fixed load_images to allow blank input
This commit is contained in:
@ -89,6 +89,8 @@ images={
|
||||
|
||||
def load_images(imgNames):
|
||||
"""loads user images from given file(s)"""
|
||||
if imgNames[0]=='':
|
||||
return dict()
|
||||
for imageName in imgNames:
|
||||
img = open(imageName)
|
||||
loadedImgs = {}
|
||||
|
Reference in New Issue
Block a user