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

Bump pillow from 10.1.0 to 10.2.0 #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion filecluster/image_grouper.py
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ def move_files_to_cluster_folder(self):
if dir_name is None or isnan:
raise DateStringNoneException()
# instead, create dummy date
#dir_name = "XXXX_XX_XX"
# dir_name = "XXXX_XX_XX"

ut.create_folder_for_cluster(
config=self.config, date_string=dir_name, mode=mode
Expand Down
6 changes: 3 additions & 3 deletions filecluster/utlis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import base64
import hashlib
import logging
import math
import os
import sys
import time
Expand All @@ -15,7 +14,6 @@
from PIL import Image
from filecluster.configuration import Config
from filecluster.configuration import CopyMode
from filecluster.exceptions import DateStringNoneException

log_fmt = "%(levelname).1s %(message)s"
logging.basicConfig(format=log_fmt)
Expand Down Expand Up @@ -80,7 +78,9 @@ def create_folder_for_cluster(config: Config, date_string: str, mode: CopyMode):
if mode != CopyMode.NOP:
pth = Path(config.out_dir_name)
if not isinstance(date_string, str):
logger.error(f"Expected date string got: {date_string} of type: {type(date_string)}")
logger.error(
f"Expected date string got: {date_string} of type: {type(date_string)}"
)
dir_name = (
pth / date_string
) # fixme: can raise error: TypeError: unsupported operand type(s) for /: 'WindowsPath' and 'float'
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ExifRead==3.0.0
numpy==1.26.2 # there might be Windows problem with numpy==1.19.4
pandas==2.1.3 # 1.1.5 works ok
Pillow==10.1.0
Pillow==10.2.0
python-dateutil==2.8.2
pytz==2020.5
tqdm==4.66.1
Expand Down
Loading