From d9002db646460112425f6ed940776404f8b8aeb5 Mon Sep 17 00:00:00 2001 From: Imad Toubal Date: Tue, 23 May 2023 11:26:22 -0500 Subject: [PATCH] fix to issue #91: Variable self._runtime referenced before initialization in vot/tracker/__init__.py #91 --- vot/tracker/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vot/tracker/__init__.py b/vot/tracker/__init__.py index 8170955..7f99fcc 100644 --- a/vot/tracker/__init__.py +++ b/vot/tracker/__init__.py @@ -826,7 +826,7 @@ def __init__(self, runtime: TrackerRuntime): """ super().__init__(runtime.tracker) - if self._runtime.multiobject: + if runtime.multiobject: self._runtime = runtime else: self._runtime = [runtime]