mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 19:02:52 +02:00
Converted dict comprehensions to use literals. (#8342)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user