Rename method to not collide with new description property

This commit is contained in:
Florian Festi 2017-11-30 22:39:58 +01:00
parent 72e6dd2213
commit 3dfd99c68a
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ in 0.5mm steps, 3 holes each size"""
r = (12.5 - 2 * i - 0.5 * j) * 0.5
self.hole(i * 20 + 10, j * 60 + k * 20 + 10, r + 0.05)
def description(self):
def descriptionText(self):
self.ctx.set_font_size(6)
for i in range(4):
for j in range(6):
@ -64,7 +64,7 @@ in 0.5mm steps, 3 holes each size"""
self.rectangularWall(x, y, "ffff", move="up")
self.rectangularWall(x, y, "ffff", callback=[self.drillholes], move="up")
self.rectangularWall(x, y, "ffff", callback=[self.drillholes, self.description], move="up")
self.rectangularWall(x, y, "ffff", callback=[self.drillholes, self.descriptionText], move="up")
self.close()