From 505885a159a262ca199a3fee883bbfcd72d95661 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Fri, 15 Mar 2019 12:02:29 +0100 Subject: [PATCH] [algorithm] Code cleanup --- beat/core/algorithm.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/beat/core/algorithm.py b/beat/core/algorithm.py index 13caa5a4..e2285e8e 100644 --- a/beat/core/algorithm.py +++ b/beat/core/algorithm.py @@ -66,7 +66,9 @@ from beat.backend.python.algorithm import Algorithm as BackendAlgorithm def load_algorithm_prototype(prefix): - prototype_data = pkg_resources.resource_string(__name__, "prototypes/algorithm.json") + prototype_data = pkg_resources.resource_string( + __name__, "prototypes/algorithm.json" + ) if sys.version_info < (3, 6): prototype_data = prototype_data.decode("utf-8") -- GitLab