Skip to content

Commit

Permalink
modified: lb.py
Browse files Browse the repository at this point in the history
deleted:    update.py
  • Loading branch information
wish13yt committed Oct 19, 2024
1 parent 3147e28 commit 9761d41
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 22 deletions.
21 changes: 13 additions & 8 deletions lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,19 +42,24 @@ def cls():
with open(file_Path, 'wb') as file:
file.write(response.content)
print('File downloaded successfully')
fb = open("freakybob.txt", "r")
print(fb.read())
fb.close()
code()
fb = open("freakybob.txt", "r")
print(fb.read())
fb.close()
code()
if (command == "update"):
print("This requires an additional download of 569 bytes.")
input("Are you fine with that? Close this if not. ")
url = 'https://github.com/Freakybob-Team/lb/blob/main/lb.py?raw=true'
response = requests.get(url)
file_Path = 'lb.py'
url = 'https://github.com/Freakybob-Team/lb/blob/main/update.py?raw=true'
response = requests.get(url)
file_Path = 'update.py'

if response.status_code == 200:
with open(file_Path, 'wb') as file:
file.write(response.content)
print('File downloaded successfully')
print('File downloaded successfully')
exec(open('update.py').read())
else:
print('Failed to download file')
print("Bringing you back...")
code()
code()
14 changes: 0 additions & 14 deletions update.py

This file was deleted.

0 comments on commit 9761d41

Please sign in to comment.