From 3fd6633c015f913b088b6fc07eaf1c418474bf71 Mon Sep 17 00:00:00 2001 From: Steve Clement Date: Fri, 1 May 2020 12:12:33 +0900 Subject: [PATCH] fix: [pep] Comply to PEP E261 --- misp_modules/modules/expansion/vmray_submit.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misp_modules/modules/expansion/vmray_submit.py b/misp_modules/modules/expansion/vmray_submit.py index 73a0cdf..1c0d553 100644 --- a/misp_modules/modules/expansion/vmray_submit.py +++ b/misp_modules/modules/expansion/vmray_submit.py @@ -73,9 +73,9 @@ def handler(q=False): do_not_include_vmrayjobids = request["config"].get("do_not_include_vmrayjobids") try: - shareable = bool(strtobool(shareable)) # Do we want the sample to be shared? - reanalyze = not bool(strtobool(do_not_reanalyze)) # Always reanalyze the sample? - include_vmrayjobids = not bool(strtobool(do_not_include_vmrayjobids)) # Include the references to VMRay job IDs + shareable = bool(strtobool(shareable)) # Do we want the sample to be shared? + reanalyze = not bool(strtobool(do_not_reanalyze)) # Always reanalyze the sample? + include_vmrayjobids = not bool(strtobool(do_not_include_vmrayjobids)) # Include the references to VMRay job IDs except ValueError: misperrors["error"] = "Error while processing settings. Please double-check your values." return misperrors