diff --git a/project.py b/project.py index 222cbdd..7c19d5f 100644 --- a/project.py +++ b/project.py @@ -380,6 +380,7 @@ class Project(): def create_user_config(self): if self.is_wokwi(): self.fetch_wokwi_files() + self.check_ports() logging.info("creating include file") filename = 'user_config.tcl' with open(os.path.join(self.local_dir, 'src', filename), 'w') as fh: diff --git a/tt_tool.py b/tt_tool.py index 801e111..364666d 100755 --- a/tt_tool.py +++ b/tt_tool.py @@ -62,7 +62,6 @@ if __name__ == '__main__': project.print_wokwi_id() if args.create_user_config: - project.check_ports() project.create_user_config() if args.harden: