From 5bc7a337a00bfe6f73ad312e3923e2bb3fe0ffd8 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 25 Sep 2020 09:10:21 +0000 Subject: [PATCH] Comment --- epicyon.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/epicyon.py b/epicyon.py index fe98b2e05..cb6b0637d 100644 --- a/epicyon.py +++ b/epicyon.py @@ -71,7 +71,9 @@ from socnet import instancesGraph import argparse -def str2bool(v): +def str2bool(v) -> bool: + """Returns true if the given value is a boolean + """ if isinstance(v, bool): return v if v.lower() in ('yes', 'true', 't', 'y', '1'):