mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-13 09:25:06 +02:00
fix(immich): correct Python indentation error in ct/immich.sh heredoc patch (#15723)
* Initial plan * fix: correct Python indentation in immich heredoc patch (ct/immich.sh) --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
+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