mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-13 01:22:12 +02:00
fix: correct Python indentation in immich heredoc patch (ct/immich.sh)
This commit is contained in:
committed by
GitHub
parent
c26bd38099
commit
57518f5dcb
+2
-2
@@ -340,10 +340,10 @@ old = "(0, sharp_1.default)(input).metadata()"
|
||||
new = "(0, sharp_1.default)(input, { unlimited: true, limitInputPixels: false }).metadata()"
|
||||
if new in s:
|
||||
print('hotfix already there')
|
||||
elif old in s:
|
||||
elif old in s:
|
||||
p.write_text(s.replace(old, new, 1))
|
||||
print('hotfix applied')
|
||||
else:
|
||||
else:
|
||||
print('pattern not found, skipped')
|
||||
PY
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user