summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--btt/bno_plot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/btt/bno_plot.py b/btt/bno_plot.py
index 1a1937c..be64da0 100644
--- a/btt/bno_plot.py
+++ b/btt/bno_plot.py
@@ -76,7 +76,7 @@ def parse_args(in_args):
elif o in ('-K', '--keys-below'):
keys_below = True
- if len(args) > 0: bnos = args
+ if args: bnos = args
else: bnos = glob.glob('blknos*[rw].dat')
return (bnos, keys_below)