From cb858488dbdb4307bfb812e83c1ddb736af094cd Mon Sep 17 00:00:00 2001 From: ATATC <futerry@outlook.com> Date: Tue, 28 Nov 2023 10:03:06 -0500 Subject: [PATCH] Bug fixed: `Controller` is undefined in `leads_emulation`. --- leads_vec/__main__.py | 3 +-- setup.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/leads_vec/__main__.py b/leads_vec/__main__.py index 95bcd1d0..d0f75a0e 100644 --- a/leads_vec/__main__.py +++ b/leads_vec/__main__.py @@ -1,9 +1,8 @@ from sys import argv as _argv, exit as _exit - if __name__ == '__main__': try: - from leads_emulation import Random as Controller + from leads_emulation import SRWRandom as Controller except ImportError: raise EnvironmentError("At least one adapter has to be installed") if "remote" in _argv: diff --git a/setup.py b/setup.py index 3d23a381..d26bb826 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="leads", - version="0.0.2", + version="0.0.3", author="ProjectNeura", author_email="central@projectneura.org", description="Lightweight Embedded Assisted Driving System",