Skip to content

Commit

Permalink
Correctly blank results (#1210)
Browse files Browse the repository at this point in the history
Remote fetches for quest locale might fail, this fixes the fallback to no translations.
  • Loading branch information
fosJoddie authored Oct 6, 2021
1 parent 14372bb commit ea1b08e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapadroid/utils/questGen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ea1b08e

Please sign in to comment.