diff options
Diffstat (limited to 'Lib/os.py')
-rw-r--r-- | Lib/os.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -666,7 +666,7 @@ if not _exists("urandom"): """ global _urandomfd - if not _urandomfd: + if _urandomfd is None: try: _urandomfd = open("/dev/urandom", O_RDONLY) except: |