1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-02-12 11:12:10 +00:00

English fix

This commit is contained in:
root 2018-12-17 10:23:00 +00:00
parent cc19304db5
commit 1001074ab5

View file

@ -31,7 +31,7 @@ if __name__ == "__main__":
""" Read conf """
getpathscriptdir = os.path.dirname(sys.argv[0])
localconf = configparser.ConfigParser()
localconf.read("{pathrun}/private/conf/config".format(pathrun=getpathscriptdir))
localconf.read("private/conf/config")
generalconf = {
"logger": {"logs_level": localconf['logger']['logs_level'],
@ -72,7 +72,7 @@ if __name__ == "__main__":
"\n - Public Key: {1}"
.format(localconf['system']['key_pvt'], localconf['system']['key_pub']))
# print("Passphrase HASH: {0}".format(passhash))
print("You MUST save your passphrase in a security place !")
print("You MUST save your passphrase in a secure place !")
key_pvt = CritConf.read_private_key(localconf['system']['key_pvt'], passhash)
else:
print(gen['value'])