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))