LibreTube/.github/sign.py
2022-09-18 10:50:28 +05:30

5 lines
109 B
Python

from json import load
data = load(open(commit.json))
f = open('sign.txt', "w")
f.write(data['sha'][0:7])