Skip to content

Commit

Permalink
newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
eccentricOrange committed Feb 6, 2022
1 parent 347e6c3 commit 9dbb26b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions npbc_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,23 +46,23 @@ def read_args(self):
exit(0)

def update(self):
print ("Downloading NPBC CLI...", end="")
print ("Downloading NPBC CLI...")
cli_download = urlopen(self.cli_url).read()
print (" done.")
print ("Done.\n")

print ("Downloading NPBC API...", end="")
print ("Downloading NPBC API...")
api = urlopen(self.api_url).read()
print (" done.\n")
print ("Done.\n\n")

print ("Installing NPBC CLI...", end="")
print ("Installing NPBC CLI...")
with open(self.cli_path, 'wb') as cli_file:
cli_file.write(cli_download)
print (" done.")
print ("Done.\n")

print ("Installing NPBC API...", end="")
print ("Installing NPBC API...")
with open(self.api_path, 'wb') as api_file:
api_file.write(api)
print (" done.\n")
print ("Done.\n\n")

self.cli_path.chmod(0o755)
self.api_path.chmod(0o755)
Expand Down

0 comments on commit 9dbb26b

Please sign in to comment.