smaller improvements and inital Docker support

This commit is contained in:
Aborelis 2024-05-15 00:03:38 +02:00
parent b3494b15f6
commit de48bf919a
4 changed files with 41 additions and 13 deletions

View file

@ -105,7 +105,8 @@ class AveryLabel:
""" render loop"""
assert callable(thing) or isinstance(thing, str)
if isinstance(count, Iterator):
return self.render_iterator(thing, count)
self.render_iterator(thing, count)
return
canv = self.canvas
for i in range(offset + count):