diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-11-08 16:47:15 +0100 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-11-08 16:47:15 +0100 |
commit | 0f3fc930703918ba83b7b83f3ff3849015219a0a (patch) | |
tree | 6eb166a672b25ee04a46ce06c6a48d78ae337383 /modules/mono/config.py | |
parent | 02d5ff4cd055d2ff29873647840e7b94dc66f072 (diff) | |
download | redot-engine-0f3fc930703918ba83b7b83f3ff3849015219a0a.tar.gz |
Fix assertion fail when loading assembly on project export
Diffstat (limited to 'modules/mono/config.py')
-rw-r--r-- | modules/mono/config.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/mono/config.py b/modules/mono/config.py index 8427103ee7..189699cca8 100644 --- a/modules/mono/config.py +++ b/modules/mono/config.py @@ -265,11 +265,7 @@ def make_template_dir(env, mono_root): template_dir_name = '' - if platform == 'windows': - template_dir_name = 'data.mono.%s.%s.%s' % (platform, env['bits'], target) - elif platform == 'osx': - template_dir_name = 'data.mono.%s.%s' % (platform, target) - elif platform == 'x11': + if platform in ['windows', 'osx', 'x11']: template_dir_name = 'data.mono.%s.%s.%s' % (platform, env['bits'], target) else: assert False |