Fix variable name

This commit is contained in:
XelXen 2022-09-18 14:32:02 +05:30 committed by GitHub
parent 99d2fc0a36
commit 34822c1728
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
.github/checkrun.py vendored
View File

@ -7,8 +7,8 @@ f.close()
data = data['commit']['message'] data = data['commit']['message']
if "\n\n" in message: if "\n\n" in data:
if message.split("\n\n",1)[-1].split()[0] == "[SILENT]": if data.split("\n\n",1)[-1].split()[0] == "[SILENT]":
system('killall -9 python') system('killall -9 python')
else: else:
print("Silence not found") print("Silence not found")