Browse Source

Fix issue at like 100

pull/36/head
Weilbyte 4 years ago
committed by GitHub
parent
commit
c80f4795bd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      PVEDiscordDark.py

2
PVEDiscordDark.py

@ -97,7 +97,7 @@ def installTheme():
tplFile.write("<script type='text/javascript' src='/pve2/js/dd_patcher.js'></script>")
for index, image in enumerate(images):
imageCurrent = index + 1
cprint(colors.NORMAL, 'Downloading images [' + imageCurrent + '/' + len(images) + ']..\r', False, True)
cprint(colors.NORMAL, 'Downloading images [' + str(imageCurrent) + '/' + str(len(images)) + ']..\r', False, True)
urllib.request.urlretrieve(baseURL + '/PVEDiscordDark/images/' + image, '/usr/share/pve-manager/images/' + image)
cprint(colors.OKGREEN, '\nTheme installed successfully!', True)
if ACTION == None:

Loading…
Cancel
Save