diff --git a/Mystery.py b/Mystery.py index b2568340..bd8c5bfc 100644 --- a/Mystery.py +++ b/Mystery.py @@ -125,7 +125,7 @@ def interpret_on_off(value): def convert_to_on_off(value): return {True: "on", False: "off"}.get(value, value) -def roll_settings(weights, path): +def roll_settings(weights): def get_choice(option, root=weights): if option not in root: return None @@ -233,7 +233,7 @@ def roll_settings(weights, path): romweights = weights['rom'] ret.sprite = get_choice('sprite', romweights) if ret.sprite is not None and not os.path.isfile(ret.sprite) and not get_sprite_from_name(ret.sprite): - logging.Logger('').warning(f"Warning: In yaml file \"{path}\", The choson sprite, \"{ret.sprite}\" does not exist.") + logging.Logger('').warning(f"Warning: The choson sprite, \"{ret.sprite}\" does not exist.") ret.disablemusic = get_choice('disablemusic', romweights) ret.extendedmsu = get_choice('extendedmsu', romweights) ret.quickswap = get_choice('quickswap', romweights)