Update gen_pattern.py
Save method should save, instead trying to run inkview
This commit is contained in:
parent
eca752368b
commit
7f52a553d4
@ -61,7 +61,7 @@ class PatternMaker:
|
|||||||
|
|
||||||
def save(self):
|
def save(self):
|
||||||
c = canvas(self.g,width="%d%s"%(self.width,self.units),height="%d%s"%(self.height,self.units),viewBox="0 0 %d %d"%(self.width,self.height))
|
c = canvas(self.g,width="%d%s"%(self.width,self.units),height="%d%s"%(self.height,self.units),viewBox="0 0 %d %d"%(self.width,self.height))
|
||||||
c.inkview(self.output)
|
c.save(self.output)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user