mirror of
https://gitverse.ru/kpa39l/email-assistant.git
synced 2026-11-27 06:30:08 +00:00
feat: inline edit — click task name → Alpine input → Enter saves via PUT /api/task/{uid}/update. fix: app.py indentation, CSS add-task/t-edit-wrap
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
"""Fix indentation of lines 379-381 in app.py."""
|
||||
path = "webui/app.py"
|
||||
with open(path) as f:
|
||||
lines = f.readlines()
|
||||
|
||||
# Fix lines 379-381: remove 8 leading spaces (they have 16, should have 8)
|
||||
for i in range(378, 382): # 0-indexed: 378 = line 379
|
||||
if i < len(lines):
|
||||
stripped = lines[i].lstrip()
|
||||
current_indent = len(lines[i]) - len(stripped)
|
||||
if current_indent == 16:
|
||||
lines[i] = " " * 8 + stripped
|
||||
|
||||
with open(path, "w") as f:
|
||||
f.writelines(lines)
|
||||
|
||||
compile(open(path).read(), path, 'exec')
|
||||
print("OK")
|
||||
Reference in New Issue
Block a user