aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorFulgen301 <tokmajigeorge@gmail.com>2019-09-08 23:43:56 +0200
committerFulgen301 <tokmajigeorge@gmail.com>2019-09-08 23:43:56 +0200
commitc7fb36b6474340d0b7f340cb9acf312ca864e529 (patch)
treef10088c97869375f28a99590852d5e3560ccf414 /routes
parent1fef7cb2ea826f4d71dbf365ad45b46a0ccb7dfb (diff)
downloadparry-c7fb36b6474340d0b7f340cb9acf312ca864e529.tar.gz
parry-c7fb36b6474340d0b7f340cb9acf312ca864e529.zip
Upload: Remove onupdate in order not to trigger a date update when reparsing properties from websitesHEADmaster
Diffstat (limited to 'routes')
-rw-r--r--routes/uploads.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/uploads.py b/routes/uploads.py
index 7bf06c5..5cea38d 100644
--- a/routes/uploads.py
+++ b/routes/uploads.py
@@ -91,6 +91,7 @@ def post_upload(id=None):
entry.slug = "".join(i for i in request_data()["title"].lower() if i in string.ascii_letters)
entry.tags = request_data().get("tags", [])
entry.author = get_user(session)
+ entry.updated_at = datetime.now()
session.add(entry)