Removing parens

This commit is contained in:
John Westcott IV 2021-09-09 12:58:29 -04:00 committed by beeankha
parent b9758f5c1a
commit 5607c350cd

View File

@ -261,7 +261,7 @@ class ControllerAPIModule(ControllerModule):
controller_version = response.info().getheader('X-API-Product-Version', None)
parsed_collection_version = Version(self._COLLECTION_VERSION).version
if(not controller_version):
if not controller_version:
self.warn("You are using the {0} version of this collection but connecting to a controller that did not return a version".format(self._COLLECTION_VERSION))
else:
parsed_controller_version = Version(controller_version).version