Skip to content

Commit

Permalink
blackd
Browse files Browse the repository at this point in the history
  • Loading branch information
coffandro committed Jul 26, 2024
1 parent 9dc3ba0 commit c187f25
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions FOLON-Downgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def run(self):
def SetupFont():
url = "https://dl.dafont.com/dl/?f=overseer"
with urllib.request.urlopen(url) as dl_file:
with open("FOLON-Downgrader-Files/overseer.zip", 'wb') as out_file:
with open("FOLON-Downgrader-Files/overseer.zip", "wb") as out_file:
out_file.write(dl_file.read())

with zipfile.ZipFile("FOLON-Downgrader-Files/overseer.zip", "r") as zip_ref:
Expand All @@ -56,9 +56,9 @@ def SetupSteam():
url = "https://github.com/coffandro/DepotDownloader/releases/download/release/DepotDownloader-windows-x64.zip"
else:
url = "https://github.com/coffandro/DepotDownloader/releases/download/release/DepotDownloader-linux-x64.zip"

with urllib.request.urlopen(url) as dl_file:
with open("FOLON-Downgrader-Files/steam.zip", 'wb') as out_file:
with open("FOLON-Downgrader-Files/steam.zip", "wb") as out_file:
out_file.write(dl_file.read())

with zipfile.ZipFile("FOLON-Downgrader-Files/steam.zip", "r") as zip_ref:
Expand Down Expand Up @@ -562,7 +562,7 @@ def SteamDialog2(self): # GUI
self.SteamGDlg.setLayout(SteamGDlgLayout)
self.GuardEntry.setFocus()
self.SteamGDlg.exec()

def GuardSubmitInit2(self):
try:
self.SteamGDlg.close()
Expand Down Expand Up @@ -738,7 +738,7 @@ def tab3UI(self): # GUI

Header = QLabel("Downgrade Fallout 4")
Header.setFont(QFont("Overseer", 30))
#layout.addRow(Header)
# layout.addRow(Header)
layout.addRow(
QLabel(
"<p>The following button can take quite a while, please <b>be patient</b>.</p>"
Expand Down

0 comments on commit c187f25

Please sign in to comment.