diff --git a/legendary/utils/__init__.py b/legendary/utils/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/legendary/utils/game_workarounds.py b/legendary/utils/game_workarounds.py new file mode 100644 index 0000000..6b2d393 --- /dev/null +++ b/legendary/utils/game_workarounds.py @@ -0,0 +1,10 @@ +# coding: utf-8 + +# games where the download order optimizations are enabled by default +_optimize_default = { + 'wombat' +} + + +def is_opt_enabled(app_name): + return app_name.lower() in _optimize_default