Update main.py

This commit is contained in:
Richard Mwewa
2022-02-27 13:59:41 +02:00
committed by GitHub
parent 267dafb13f
commit 2edf5a354a

View File

@@ -390,7 +390,7 @@ class octosuite:
# Update program
def update(self):
logging.info('Checking for update(s)...')
files_to_update = ['src/main.py','lib/banner.py','lib/colors.py','octosuite']
files_to_update = ['src/main.py','lib/banner.py','lib/colors.py','octosuite','LICENSE','README.md']
print(f'\n{colors.white}[{colors.green}*{colors.white}] Fetching update(s). Please wait...{colors.reset}')
for file in files_to_update:
data = urllib.request.urlopen(f'https://raw.githubusercontent.com/rly0nheart/octosuite/master/{file}').read()