assert all ids are unique
diff --git a/configure.py b/configure.py index ae5a97f..b5c5865 100755 --- a/configure.py +++ b/configure.py
@@ -27,6 +27,9 @@ except FileNotFoundError: logging.error("project cache {} not found, use --update-cache to build it".format(Projects.projects_db)) + # all ids must be unique + assert len(set(self.wokwi_ids)) == len(self.wokwi_ids) + def update_cache(self): from project_urls import project_urls self.wokwi_ids = []