summaryrefslogtreecommitdiff
path: root/cgi-bin
diff options
context:
space:
mode:
authorCtibor <ctibor@brancik.cz>2017-03-23 09:17:54 +0100
committerCtibor <ctibor@brancik.cz>2017-03-23 09:17:54 +0100
commitb91237cc28aab306003ebc5ca42ceec7705e1ffe (patch)
treea331db046af099162ccbdfc2bbfae058582228fc /cgi-bin
parent96f370b0cac68a763a7871519e0ddd06673cf050 (diff)
downloadhnizdo-b91237cc28aab306003ebc5ca42ceec7705e1ffe.tar.gz
hnizdo-b91237cc28aab306003ebc5ca42ceec7705e1ffe.tar.bz2
Fix bad variable name
Diffstat (limited to 'cgi-bin')
-rw-r--r--cgi-bin/link.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/link.py b/cgi-bin/link.py
index 5cb6b2d..74ba61c 100644
--- a/cgi-bin/link.py
+++ b/cgi-bin/link.py
@@ -30,7 +30,7 @@ class Link:
def timestamp(self, date):
if self.detect(date):
- date=datetime.datetime.strftime(datetime.datetime.strptime(figure[:12], "%Y%m%d%H%M"), "%Y-%m-%d %H:%M")
+ date=datetime.datetime.strftime(datetime.datetime.strptime(date[:12], "%Y%m%d%H%M"), "%Y-%m-%d %H:%M")
return date
else:
return ""