diff --git a/.idea/imgal.iml b/.idea/imgal.iml index 5a3519e..0b99b66 100644 --- a/.idea/imgal.iml +++ b/.idea/imgal.iml @@ -7,7 +7,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 28e58b6..c86d9c9 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -3,5 +3,5 @@ - + \ No newline at end of file diff --git a/builder/imgal-build.py b/builder/imgal-build.py index c9280ff..8bf3c10 100644 --- a/builder/imgal-build.py +++ b/builder/imgal-build.py @@ -115,7 +115,10 @@ def moveFullSize(directory, file_names): picsList = os.listdir(directory) -createPage(picsList) -createThumbnails(picsList, directory) -createViewerSize(picsList, directory) +try: + createPage(picsList) + createThumbnails(picsList, directory) + createViewerSize(picsList, directory) +except Exception as e: + print("Error occurred. Bypassing image. Details : "+e) moveFullSize(directory, picsList) \ No newline at end of file