summaryrefslogtreecommitdiff
path: root/cgi-bin/link.py
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2017-04-25 19:40:35 +0200
committerCtibor Brančík <ctibor@brancik.cz>2017-04-25 19:40:35 +0200
commitfc2d77a2faaae4e0c6b7886b2f8c2fbe78b3aa46 (patch)
tree5810c6389da637e7e49c73c869596e2e51c4aa97 /cgi-bin/link.py
parent11340cccc2743c519f8625843e9cf631e83e5ada (diff)
downloadhnizdo-fc2d77a2faaae4e0c6b7886b2f8c2fbe78b3aa46.tar.gz
hnizdo-fc2d77a2faaae4e0c6b7886b2f8c2fbe78b3aa46.tar.bz2
Fix link path to full size img
Diffstat (limited to 'cgi-bin/link.py')
-rwxr-xr-xcgi-bin/link.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi-bin/link.py b/cgi-bin/link.py
index 334184a..49153ee 100755
--- a/cgi-bin/link.py
+++ b/cgi-bin/link.py
@@ -76,7 +76,7 @@ class Link:
def full(self, target, link):
if self.detect(target):
- return "<a href=\"/img/"+target+"-full.jpeg\">"+link+"</a>"
+ return "<a href=\"img/"+target+"-full.jpeg\">"+link+"</a>"
else:
return "<span>"+link+"</span>"