aboutsummaryrefslogtreecommitdiffstats
path: root/handlers.py
diff options
context:
space:
mode:
authorFulgen301 <tokmajigeorge@gmail.com>2019-07-26 13:47:56 +0200
committerFulgen301 <tokmajigeorge@gmail.com>2019-09-08 21:48:46 +0200
commitd123729cc3e33d00f8b46c315cc22ca98fe3f068 (patch)
treed3c79b4490d8bc03bd3ae4a1a12dfaa3be486f12 /handlers.py
parent2156edf0f8cd369556a4fb6fdaa4c7455108b2dc (diff)
downloadparry-d123729cc3e33d00f8b46c315cc22ca98fe3f068.tar.gz
parry-d123729cc3e33d00f8b46c315cc22ca98fe3f068.zip
Fix entry version
Diffstat (limited to 'handlers.py')
-rw-r--r--handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers.py b/handlers.py
index 2cb6c88..c9f0e63 100644
--- a/handlers.py
+++ b/handlers.py
@@ -52,7 +52,7 @@ class Website(Site):
entry.tags = [self.tag]
entry.slug = "".join(i for i in html.unescape(m["title"]).lower() if i in string.ascii_letters)
entry.updated_at = datetime.strptime(m["updatedAt"], self.date_format)
- entry._v = 1
+ entry.version = m["version"]
entry.readonly = True
try: