From df33bcab874fb93cea510d74a581ba58f6654630 Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Mon, 3 Jul 2023 09:09:44 +0100 Subject: [PATCH] Updated to work with Python 3 --- README.md | 2 +- apyx_example.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0beb2b8..df7f255 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ if __name__ == '__main__': if not os.path.exists(output_dir): os.makedirs(output_dir) - for name, config in antipixels.iteritems(): + for name, config in antipixels.iter(): if 'base' not in config: config['base'] = default_base print("Creating antipixel {0}".format(name)) diff --git a/apyx_example.py b/apyx_example.py index 3f6eb4a..dd724e3 100644 --- a/apyx_example.py +++ b/apyx_example.py @@ -52,7 +52,7 @@ if __name__ == '__main__': if not os.path.exists(output_dir): os.makedirs(output_dir) - for name, config in antipixels.iteritems(): + for name, config in antipixels.iter(): if 'base' not in config: config['base'] = default_base print("Creating antipixel {0}".format(name))