From 99c04f6a75dd06116f3b4329d38d44c7ffe21935 Mon Sep 17 00:00:00 2001 From: dpryan79 Date: Mon, 19 Sep 2016 15:21:35 +0200 Subject: [PATCH] Fix minor issue with the last commit, though in practice this will never be an issue --- deeptools/deeptools_list_tools.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deeptools/deeptools_list_tools.py b/deeptools/deeptools_list_tools.py index 274b894e7..28cafd048 100644 --- a/deeptools/deeptools_list_tools.py +++ b/deeptools/deeptools_list_tools.py @@ -67,7 +67,6 @@ def process_args(args=None): def main(args=None): - args = None - if len(sys.argv) == 1: + if args is None and len(sys.argv) == 1: args = ["--help"] process_args(args)