From 48d372aa46fa792cb07140cc2c5628f70f4d424c Mon Sep 17 00:00:00 2001 From: tralph3 Date: Tue, 22 Sep 2020 18:15:04 -0300 Subject: [PATCH] Fixed saturn link bug --- cuemaker.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cuemaker.py b/cuemaker.py index 39647d8d..b3b172c0 100755 --- a/cuemaker.py +++ b/cuemaker.py @@ -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 @@ -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")