From dbdd02c28fa2857e0a25ec75edd470c379e9db86 Mon Sep 17 00:00:00 2001 From: GrizzleNL Date: Fri, 10 Feb 2023 18:37:11 +0100 Subject: [PATCH] Commit --- commit-file.txt | 1 + commit.py | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) 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)