Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thumbnail server: Some fixes #3087

Merged
merged 6 commits into from
Nov 23, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Don't create useless variable
  • Loading branch information
ferdnyc committed Nov 20, 2019
commit 62cb4525f662b83119af22f9495a39b309d00296
2 changes: 1 addition & 1 deletion src/classes/thumbnail.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def GenerateThumbnail(file_path, thumb_path, thumbnail_frame, width, height, mas
pass

# Create thumbnail folder (if needed)
parent_path, file_name = os.path.split(thumb_path)
parent_path = os.path.dirname(thumb_path)
if not os.path.exists(parent_path):
os.mkdir(parent_path)

Expand Down