Skip to content
Snippets Groups Projects
Commit 505885a1 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[algorithm] Code cleanup

parent e6f953cd
No related branches found
No related tags found
1 merge request!62Code cleanup
...@@ -66,7 +66,9 @@ from beat.backend.python.algorithm import Algorithm as BackendAlgorithm ...@@ -66,7 +66,9 @@ from beat.backend.python.algorithm import Algorithm as BackendAlgorithm
def load_algorithm_prototype(prefix): 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): if sys.version_info < (3, 6):
prototype_data = prototype_data.decode("utf-8") prototype_data = prototype_data.decode("utf-8")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment