Skip to content

Commit

Permalink
Add a separator in temp folder cmd for windows (fix #1132) (#1135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Toyem committed Jul 16, 2022
1 parent f87d4aa commit 8ea67f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PixivHelper.py
Original file line number Diff line number Diff line change
Expand Up @@ -1135,7 +1135,7 @@ def check_image_encoding(directory: str) -> None:

# Append every images to their corresponding number of bit depth in a dictionnary
for filename in os.listdir(directory):
f = os.path.join(directory, filename)
f = os.path.join(directory, os.sep, filename)
# checking if it is a file
if ((os.path.isfile(f)) and (f.endswith((".jpg", ".png")))):
fp = None
Expand Down

0 comments on commit 8ea67f7

Please sign in to comment.