Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/certbot/certbot.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMads Jensen <mje@inducks.org>2020-10-01 15:42:37 +0300
committerGitHub <noreply@github.com>2020-10-01 15:42:37 +0300
commitc12404451dc49dea4277f319d78abe0a5247bc6b (patch)
tree630dde5aa6f5ff5982a326dbc0eca71f4af0a84f /windows-installer
parente378931eda6ce6bcd9059959c4b3b790f41a203d (diff)
Converted dict comprehensions to use literals. (#8342)
Diffstat (limited to 'windows-installer')
-rw-r--r--windows-installer/construct.py2
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: