commit message from python script

This commit is contained in:
2023-07-21 10:00:01 +02:00
parent 8ebd97cb08
commit b19224a29b
2 changed files with 19 additions and 1 deletions

View File

@@ -4,4 +4,13 @@ import os, sys
if not os.path.exists(os.sep + "home" + os.sep + os.environ["USER"]) is True:
print("yes")
print("yes")
my_discts = {}
with open("/etc/os-release", "r") as file:
lines = list(map(str.rstrip, file))
for line in lines:
date = line.split("=")
my_discts[date[0]] = date[1]
print(my_discts)