Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
sthivaios committed May 5, 2024
1 parent d9faefc commit d94c07a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .idea/imgal.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 6 additions & 3 deletions builder/imgal-build.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d94c07a

Please sign in to comment.