diff options
author | hut <hut@lavabit.com> | 2010-02-14 12:29:31 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-02-14 22:17:00 +0100 |
commit | c44b726eb81795a0310ad1a0a3e54fdc8304fc1c (patch) | |
tree | a77b8f8aad04ffbd47b3cdae89f9c68dcb82d8e6 | |
parent | 87db0130f83b071845258a073c62460ccdf6efe5 (diff) | |
download | ranger-c44b726eb81795a0310ad1a0a3e54fdc8304fc1c.tar.gz |
ranger.py: more simple '--debug' flag check
-rwxr-xr-x | ranger.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger.py b/ranger.py index 6d07f608..b38876ee 100755 --- a/ranger.py +++ b/ranger.py @@ -56,7 +56,7 @@ try: except ImportError as errormessage: import sys - if not set(sys.argv) & set(('--debug', '-d')): + if '-d' not in sys.argv and '--debug' not in sys.argv: print("Can't import the main module.") print("To run an uninstalled copy of ranger,") print("launch ranger.py in the top directory.") |