Skip to content

Commit

Permalink
5 times is a cinqlet
Browse files Browse the repository at this point in the history
  • Loading branch information
noirscape committed Nov 30, 2018
1 parent 9af9e71 commit 367671e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions switchguideupdater.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from enum import Enum

BASE_URL = 'http://amsupdater.catgirlsin.space/json/'
VERSION = '1.2.3'
VERSION = '1.2.4'

class WindowState(Enum):
MAIN_MENU = 0
Expand All @@ -24,7 +24,7 @@ class WindowState(Enum):
SELF_UPDATE_SUCCEEDED = 6

def download_file(remote_name, local_path):
r = urllib.request.urlopen(BASE_URL + remote_name)
r = urllib.request.urlopen(remote_name)
if r.getcode() == 200:
with open(local_path, 'wb') as output_path:
shutil.copyfileobj(r, output_path)
Expand Down

0 comments on commit 367671e

Please sign in to comment.