fix: SyntaxError - triple quotes

This commit is contained in:
Repinoid
2026-06-10 21:39:44 +04:00
parent 6cf46401b0
commit 50cc615d80
+1 -1
View File
@@ -318,7 +318,7 @@ def register(app):
@app.route("/api/v1/elm/profile/<mac>", methods=["PUT"])
def update_elm_profile(mac: str):
"""Обновляет поля профиля (response_time_ms и т.д.). Если профиля нет — создаёт.'''
"""Обновляет поля профиля (response_time_ms и т.д.). Если профиля нет — создаёт."""
data = request.get_json(silent=True) or {}
with Database() as db:
p = db.get_device_profile(mac)