0
0
Fork 0
mirror of https://github.com/boltgolt/howdy.git synced 2024-09-12 09:41:18 +02:00

Merge pull request #470 from arifer612/patch-1

Changed final print statement to reflect changes
This commit is contained in:
boltgolt 2020-12-02 21:42:28 +01:00 committed by GitHub
commit d4e5dea0ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,7 +39,7 @@ for line in fileinput.input([config_path], inplace=1):
print(line.replace("disabled = " + config.get("core", "disabled"), "disabled = " + out_value), end="")
# Print what we just did
if builtins.howdy_args.argument == "1":
if out_value == "true":
print("Howdy has been disabled")
else:
print("Howdy has been enabled")