diff --git a/commit-file.txt b/commit-file.txt index 3b6eeed..44987dd 100644 --- a/commit-file.txt +++ b/commit-file.txt @@ -48,3 +48,4 @@ 1 1 1 +1 diff --git a/commit.py b/commit.py index 13c67d2..111e7fd 100644 --- a/commit.py +++ b/commit.py @@ -1,5 +1,5 @@ -import subprocess -import random +from subprocess import call +from random import randint -for i in range(random.randint(1,10)): - subprocess.call("/srv/daily-commit/commit.sh", shell=True) +for i in range(randint(1,10)): + call("/srv/daily-commit/commit.sh", shell=True)