From 642eed81ab3fa1e95485e2255524cfdcd3a79097 Mon Sep 17 00:00:00 2001 From: noirscape Date: Fri, 30 Nov 2018 09:36:47 +0100 Subject: [PATCH] I am blushing rn, whooooooops --- switchguideupdater.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/switchguideupdater.py b/switchguideupdater.py index 2e0abae..f3d55e7 100644 --- a/switchguideupdater.py +++ b/switchguideupdater.py @@ -12,7 +12,7 @@ from enum import Enum BASE_URL = 'http://amsupdater.catgirlsin.space/json/' -VERSION = '1.2.1' +VERSION = '1.2.2' class WindowState(Enum): MAIN_MENU = 0 @@ -24,7 +24,7 @@ class WindowState(Enum): SELF_UPDATE_SUCCEEDED = 6 def download_file(remote_name, local_path): - r = urllib.request.urlopen(BASE_URL + 'fusee-primary.bin') + r = urllib.request.urlopen(BASE_URL + remote_path) if r.getcode() == 200: with open(local_path, 'wb') as output_path: shutil.copyfileobj(r, output_path)