Skip to content

Commit

Permalink
Fixed saturn link bug
Browse files Browse the repository at this point in the history
  • Loading branch information
tralph3 committed Sep 22, 2020
1 parent 7363cb1 commit 48d372a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cuemaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import os, glob, hashlib, argparse, configparser, platform, ssl
from zipfile import ZipFile, ZIP_DEFLATED
from urllib.request import urlopen
from urllib.parse import quote
from shutil import rmtree


Expand Down Expand Up @@ -67,7 +66,7 @@ def fetchCue(entryName):
link = "{}{}.cue".format(configParser.get('Links', 'psxCueBase'), entryName[:-4]).replace(" ", "%20")
cueText = urlopen(link).read().decode("UTF-8")
elif args.system == "saturn":
link = quote("{}{}.cue".format(configParser.get('Links', 'saturnCueBase'), entryName[:-4])).replace(" ", "%20")
link = "{}{}.cue".format(configParser.get('Links', 'saturnCueBase'), entryName[:-4]).replace(" ", "%20")
cueText = urlopen(link).read().decode("UTF-8")
elif args.system == "playstation2":
link = "{}{}.cue".format(configParser.get('Links', 'ps2CueBase'), entryName[:-4]).replace(" ", "%20")
Expand Down

0 comments on commit 48d372a

Please sign in to comment.