Skip to content

Commit 3f40834

Browse files
authored
Merge pull request #118 from Salvoxia/fix/116-regex-feature-became-mandatory-accidentally
Fix: --album-name-post-regex was always evaluated
2 parents 91c1af7 + 85d02b3 commit 3f40834

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

immich_auto_album.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,8 +611,6 @@ def create_album_name(asset_path_chunks: list[str], album_separator: str, album_
611611
612612
album_name_postprocess_regex is list of pairs of regex and replace, this is optional
613613
"""
614-
if album_name_postprocess_regex is None:
615-
album_name_postprocess_regex = [str]
616614

617615
album_name_chunks = ()
618616
logging.debug("path chunks = %s", list(asset_path_chunks))

0 commit comments

Comments
 (0)