diff options
author | Ctibor <ctibor@brancik.cz> | 2017-03-23 09:17:54 +0100 |
---|---|---|
committer | Ctibor <ctibor@brancik.cz> | 2017-03-23 09:17:54 +0100 |
commit | b91237cc28aab306003ebc5ca42ceec7705e1ffe (patch) | |
tree | a331db046af099162ccbdfc2bbfae058582228fc | |
parent | 96f370b0cac68a763a7871519e0ddd06673cf050 (diff) | |
download | hnizdo-b91237cc28aab306003ebc5ca42ceec7705e1ffe.tar.gz hnizdo-b91237cc28aab306003ebc5ca42ceec7705e1ffe.tar.bz2 |
Fix bad variable name
-rw-r--r-- | cgi-bin/link.py | 2 |
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 "" |