summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2017-03-27 20:28:31 +0200
committerCtibor Brančík <ctibor@brancik.cz>2017-03-27 20:28:31 +0200
commitd82303e124435d08cd78c06c1cfb31328985e827 (patch)
treef2cf393be8f3146d8539debc15cf59a55ddb78a1
parent176804811f9533e0f2849f8a582c36b32036d8ab (diff)
downloadhnizdo-d82303e124435d08cd78c06c1cfb31328985e827.tar.gz
hnizdo-d82303e124435d08cd78c06c1cfb31328985e827.tar.bz2
Remove unused var self.exists
-rw-r--r--cgi-bin/link.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cgi-bin/link.py b/cgi-bin/link.py
index fd27855..2b870bb 100644
--- a/cgi-bin/link.py
+++ b/cgi-bin/link.py
@@ -6,7 +6,6 @@ class Link:
if os.path.exists(os.path.realpath(config.datadir)):
self.datadir=config.datadir
self.src_datadir=config.datadir
- self.exists=""
self.latest=os.path.split(os.path.realpath(self.datadir+"latest.jpeg"))[1][:12]
else:
print ("Error: directory "+os.path.realpath(config.datadir)+" does not exist. Check config.py")