axi draw FILE

This commit is contained in:
Michael Fogleman 2018-01-22 10:14:58 -05:00
parent e127581327
commit 3c6fa0863b
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,6 @@ import sys
''' '''
TODO: TODO:
axi draw FILE
axi (repl) axi (repl)
''' '''
@ -33,7 +32,8 @@ def main():
x, y = map(float, args) x, y = map(float, args)
device.goto(x, y) device.goto(x, y)
elif command == 'draw': elif command == 'draw':
axi.draw(args[0]) d = axi.Drawing.load(args[0])
axi.draw(d)
else: else:
pass pass