From 563a5a9dfe32bb0eb072a898e15b3a78e2648c21 Mon Sep 17 00:00:00 2001 From: Viktor Kopp Date: Mon, 7 Jun 2021 12:15:03 +0200 Subject: [PATCH] Update README.md (#86) #85 issue --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 201cc93..d15fd7b 100644 --- a/README.md +++ b/README.md @@ -108,8 +108,8 @@ system = FileSystem.parse('echo.qface') generator = Generator(searchpath='.') # iterate over the domain model -for module in system: - for interface in module: +for module in system.modules: + for interface in module.interfaces: # prepare a context object ctx = { 'interface': interface } # use header.h template with ctx to write to a file