Updated to work with Python 3
This commit is contained in:
parent
0749a98dad
commit
df33bcab87
@ -57,7 +57,7 @@ if __name__ == '__main__':
|
|||||||
if not os.path.exists(output_dir):
|
if not os.path.exists(output_dir):
|
||||||
os.makedirs(output_dir)
|
os.makedirs(output_dir)
|
||||||
|
|
||||||
for name, config in antipixels.iteritems():
|
for name, config in antipixels.iter():
|
||||||
if 'base' not in config:
|
if 'base' not in config:
|
||||||
config['base'] = default_base
|
config['base'] = default_base
|
||||||
print("Creating antipixel {0}".format(name))
|
print("Creating antipixel {0}".format(name))
|
||||||
|
@ -52,7 +52,7 @@ if __name__ == '__main__':
|
|||||||
if not os.path.exists(output_dir):
|
if not os.path.exists(output_dir):
|
||||||
os.makedirs(output_dir)
|
os.makedirs(output_dir)
|
||||||
|
|
||||||
for name, config in antipixels.iteritems():
|
for name, config in antipixels.iter():
|
||||||
if 'base' not in config:
|
if 'base' not in config:
|
||||||
config['base'] = default_base
|
config['base'] = default_base
|
||||||
print("Creating antipixel {0}".format(name))
|
print("Creating antipixel {0}".format(name))
|
||||||
|
Loading…
Reference in New Issue
Block a user