From 4ab73eb6b8000c00e17dea3fc696373984380d5f Mon Sep 17 00:00:00 2001 From: Melon Bread Date: Mon, 6 May 2019 19:15:10 -0400 Subject: [PATCH] Forgot to finish refactoring --- RetroUFO.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RetroUFO.py b/RetroUFO.py index 849bf43..fb9e7ff 100755 --- a/RetroUFO.py +++ b/RetroUFO.py @@ -4,7 +4,7 @@ Grabs the latest version of every libretro core from the build bot. """ __author__ = "Melon Bread" -__version__ = "0.9.0" +__version__ = "0.9.1" __license__ = "MIT" import argparse @@ -31,9 +31,9 @@ def main(_args): # If a platform and/or architecture is not supplied it is grabbed automatically target_platform = _args.platform if _args.platform else get_platform() architecture = _args.architecture if _args.architecture else get_architecture() - location = _args.location if _args.location else CORE_LOCATION[platform] + location = _args.location if _args.location else CORE_LOCATION[target_platform] - download_cores(platform, architecture) + download_cores(target_platform, architecture) extract_cores(location) if not args.keep: