diff options
Diffstat (limited to 'Demo/scripts/script.py')
-rwxr-xr-x | Demo/scripts/script.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/scripts/script.py b/Demo/scripts/script.py index 6eaa7ae..174c13e 100755 --- a/Demo/scripts/script.py +++ b/Demo/scripts/script.py @@ -17,7 +17,7 @@ def read(fd): shell = 'sh' filename = 'typescript' mode = 'w' -if os.environ.has_key('SHELL'): +if 'SHELL' in os.environ: shell = os.environ['SHELL'] if '-a' in sys.argv: mode = 'a' |