From ea1b08e05cfa643373e6cf88c9c3f9baa06f79e8 Mon Sep 17 00:00:00 2001 From: Joddie <5710881+fosJoddie@users.noreply.github.com> Date: Wed, 6 Oct 2021 15:12:10 +0200 Subject: [PATCH] Correctly blank results (#1210) Remote fetches for quest locale might fail, this fixes the fallback to no translations. --- mapadroid/utils/questGen.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mapadroid/utils/questGen.py b/mapadroid/utils/questGen.py index bb8adbe4c..548ecb710 100644 --- a/mapadroid/utils/questGen.py +++ b/mapadroid/utils/questGen.py @@ -51,9 +51,9 @@ def __init__(self, args): return if apk_locale is None: - self.apk_locale = {} + apk_locale = {} if remote_locale is None: - self.remote_locale = {} + remote_locale = {} self.locale_resources = {**apk_locale, **remote_locale} else: self.locale_resources = None