Skip to content

Commit

Permalink
Merge pull request #1 from poslogithub/dev_poslogithub
Browse files Browse the repository at this point in the history
isoCodeをen-USからja-JPに変更、他微修正
  • Loading branch information
poslogithub committed Sep 10, 2021
2 parents 61c24ea + 8e5c50c commit 46d20fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion source/mtga/set_data/dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def get_win_data_location():
data_location = QueryValueEx(registry_key, "Path")[0] + r"MTGA_Data\Downloads\Data"
print("Found data @ ")
print(data_location)
print(r"C:\Program Files\Wizards of the Coast\MTGA\MTGA_Data\Downloads\Data")
except:
print("Couldn't locate MTGA from registry, falling back to hardcoded path...")
data_location = _get_data_location_hardcoded()
Expand Down Expand Up @@ -90,7 +91,7 @@ def get_win_data_location():

loc_map = {}
try:
en = list(filter(lambda x: x["isoCode"] == "en-US", loc))[0] # en-US or ja-JP
en = list(filter(lambda x: x["isoCode"] == "ja-JP", loc))[0] # en-US or ja-JP
except:
## langkeys are null in 11/21 patch???
en = loc[0]
Expand Down

0 comments on commit 46d20fe

Please sign in to comment.