From b7bdedd156e2d15a493974a4d66edd1186caf2cb Mon Sep 17 00:00:00 2001 From: Jonas Leder Date: Mon, 31 Aug 2020 10:15:46 +0200 Subject: [PATCH] fixed script not working on Python Version below 3.6 --- PVEDiscordDark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVEDiscordDark.py b/PVEDiscordDark.py index bdd4efa..fa90996 100644 --- a/PVEDiscordDark.py +++ b/PVEDiscordDark.py @@ -42,7 +42,7 @@ def cprint(color, text, bold=False, inline=False): endc = '' if bold: print(colors.BOLD) - print(f'{color}{text}{colors.NORMAL}', end=endc) + print(color + text + colors.NORMAL, end=endc) def getPVEVersion(): pv = subprocess.check_output('pveversion --verbose | grep pve-manager | cut -c 14- | cut -c -6', shell=True, stderr=open(os.devnull, 'w'))