Skip to content

Commit

Permalink
modified: lb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wish13yt committed Oct 19, 2024
1 parent 22c910d commit 3147e28
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion lb.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def cls():
code()
if (command == "freakybob"):
print("This requires an additional download of 5.42 KB.")
input("Are you fine with that? Close this if not.")
input("Are you fine with that? Close this if not. ")
url = 'https://github.com/Freakybob-Team/lb/blob/main/freakybob.txt?raw=true'
response = requests.get(url)
file_Path = 'freakybob.txt'
Expand All @@ -46,4 +46,15 @@ def cls():
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'
response = requests.get(url)
if response.status_code == 200:
with open(file_Path, 'wb') as file:
file.write(response.content)
print('File downloaded successfully')
code()

0 comments on commit 3147e28

Please sign in to comment.