Skip to content

Commit 2a7bfd9

Browse files
committed
Fix failing unlaunch link
1 parent f090597 commit 2a7bfd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: main.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ def downloadFile(link, destination):
4343
downloadLocation = destination + fileName
4444
open(downloadLocation, 'wb').write(r.content)
4545
return downloadLocation
46-
except ConnectionError:
46+
except ConnectionError as e:
47+
print(e)
4748
print("File not available, skipping...")
4849
return None
4950

@@ -243,14 +244,13 @@ def start():
243244

244245
if unlaunchNeeded == 1 :
245246
#Download Unlaunch
246-
url = "https://problemkaputt.de/unlaunch.zip"
247+
url = "https://web.archive.org/web/20210207235625if_/https://problemkaputt.de/unlaunch.zip"
247248
outputbox("Downloading Unlaunch\n")
248249
unlaunchLocation = downloadFile(url, cwdtemp)
249250
if unlaunchLocation != None:
250251
print("Unlaunch Downloaded")
251252
outputbox("Unlaunch Downloaded\n")
252253
lineCounter = lineCounter + 1
253-
254254
#Extract Unlaunch
255255
unzipper(unlaunchLocation,directory)
256256

0 commit comments

Comments
 (0)