diff options
author | Mads Jensen <mje@inducks.org> | 2020-10-01 15:42:37 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-01 15:42:37 +0300 |
commit | c12404451dc49dea4277f319d78abe0a5247bc6b (patch) | |
tree | 630dde5aa6f5ff5982a326dbc0eca71f4af0a84f /windows-installer | |
parent | e378931eda6ce6bcd9059959c4b3b790f41a203d (diff) |
Converted dict comprehensions to use literals. (#8342)
Diffstat (limited to 'windows-installer')
-rw-r--r-- | windows-installer/construct.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/windows-installer/construct.py b/windows-installer/construct.py index ee7420ed7..b5be69fd2 100644 --- a/windows-installer/construct.py +++ b/windows-installer/construct.py @@ -177,7 +177,7 @@ def _prepare_environment(): if __name__ == '__main__': - if not os.name == 'nt': + if os.name != 'nt': raise RuntimeError('This script must be run under Windows.') if ctypes.windll.shell32.IsUserAnAdmin() == 0: |