Skip to content

Commit

Permalink
Make things work on my hacky Linux setup again.
Browse files Browse the repository at this point in the history
  • Loading branch information
pak21 committed Aug 8, 2020
1 parent 404b423 commit c116726
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 @@ -26,12 +26,13 @@ def _get_data_location_hardcoded():

def get_data_location():
current_os = sys.platform
if current_os not in ["darwin", "win32"]:
if current_os not in ["darwin", "win32", "linux"]:
raise

return {
"darwin": get_darwin_data_location,
"win32": get_win_data_location,
"linux": get_win_data_location,
}[current_os]()

def get_darwin_data_location():
Expand Down

0 comments on commit c116726

Please sign in to comment.