diff --git a/pilab/events/reservation.py b/pilab/events/reservation.py index 1b253dda7e9a684da9cf2784736cfe02e59a02f4..293346517981bf7e193a7071d1e984288026a5aa 100644 --- a/pilab/events/reservation.py +++ b/pilab/events/reservation.py @@ -337,7 +337,7 @@ def restart_reservation_consumer(ids: List[int], callback: Callable = None): if not res_thread: res_thread = ReservationConsumer(pis=ids, callback=res_event_callback) res_thread.start() - elif Counter(ids) != Counter(res_thread.cubes): + elif Counter(ids) != Counter(res_thread.pis): res_thread.stop() res_thread.join() res_thread = ReservationConsumer(pis=ids, callback=res_event_callback) diff --git a/setup.py b/setup.py index d59368688e3794252012c036f06c870ecea7b2a1..9ee69f808159182469b210c4d5defb3ce13d6db6 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import setup, find_packages setup( name='pilab', - version='4.2.1', + version='4.2.2', description='Shared-Libs for the pi-lab microservices', url='https://code.fbi.h-da.de/api/v4/projects/27896/packages/pypi/pilab', author='Max Reinheimer',