From 5012cffd029922f2d9e52daec181fb640f27c9b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ctibor=20Bran=C4=8D=C3=ADk?= Date: Mon, 27 Mar 2017 18:35:45 +0200 Subject: Add configurable delay between each shot --- cgi-bin/link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgi-bin/link.py') 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('-'): -- cgit v1.2.3