Updated to work with Python 3

This commit is contained in:
jacob.eva 2023-07-03 09:09:44 +01:00
parent 0749a98dad
commit df33bcab87
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E
2 changed files with 2 additions and 2 deletions

View File

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

View File

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