summaryrefslogtreecommitdiff
path: root/cgi-bin/link.py
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2017-03-27 18:35:45 +0200
committerCtibor Brančík <ctibor@brancik.cz>2017-03-27 18:35:45 +0200
commit5012cffd029922f2d9e52daec181fb640f27c9b7 (patch)
tree79574d1627f52682b8c59f5ddefbf934f85b459f /cgi-bin/link.py
parentbb2488b268ee3481aaa368fc15d0a4faf2c9da20 (diff)
downloadhnizdo-5012cffd029922f2d9e52daec181fb640f27c9b7.tar.gz
hnizdo-5012cffd029922f2d9e52daec181fb640f27c9b7.tar.bz2
Add configurable delay between each shot
Diffstat (limited to 'cgi-bin/link.py')
-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 1bc69ac..3b4baf5 100644
--- a/cgi-bin/link.py
+++ b/cgi-bin/link.py
@@ -78,7 +78,7 @@ class Link:
date=date[0]
curdate=datetime.datetime.strptime(date, "%Y%m%d%H%M")
if delta.endswith('m'):
- num = 10
+ num = config.delay
else:
num = 1
if delta.startswith('-'):