Browse Source

Merge pull request #27 from jonasled/patch-7

fixed script not working on Python Version below 3.6
pull/32/head
Weilbyte 4 years ago
committed by GitHub
parent
commit
ef02a6ef7b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      PVEDiscordDark.py

2
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'))

Loading…
Cancel
Save