diff --git a/files/routes/admin.py b/files/routes/admin.py index c2b9382ec..d48352df6 100644 --- a/files/routes/admin.py +++ b/files/routes/admin.py @@ -1880,7 +1880,7 @@ def delete_media_post(v): ma = ModAction( kind="delete_media", user_id=v.id, - _note=url, + _note=f'{url}', ) g.db.add(ma) diff --git a/files/routes/holes.py b/files/routes/holes.py index baeaaef1f..ecd17e1f0 100644 --- a/files/routes/holes.py +++ b/files/routes/holes.py @@ -562,7 +562,7 @@ def upload_hole_sidebar(v, hole): ma = HoleAction( hole=hole.name, kind='upload_sidebar_image', - _note=sidebarurl, + _note=f'{sidebarurl}', user_id=v.id ) g.db.add(ma) @@ -592,7 +592,7 @@ def delete_hole_sidebar(v, hole, index): ma = HoleAction( hole=hole.name, kind='delete_sidebar_image', - _note=sidebar, + _note=f'{sidebar}', user_id=v.id ) g.db.add(ma) @@ -651,7 +651,7 @@ def upload_hole_banner(v, hole): ma = HoleAction( hole=hole.name, kind='upload_banner', - _note=bannerurl, + _note=f'{bannerurl}', user_id=v.id ) g.db.add(ma) @@ -681,7 +681,7 @@ def delete_hole_banner(v, hole, index): ma = HoleAction( hole=hole.name, kind='delete_banner', - _note=banner, + _note=f'{banner}', user_id=v.id ) g.db.add(ma) @@ -741,7 +741,7 @@ def hole_marsey(v, hole): ma = HoleAction( hole=hole.name, kind='change_marsey', - _note=hole.marseyurl, + _note=f'{hole.marseyurl}', user_id=v.id ) g.db.add(ma)