From: devicerandom Date: Fri, 3 Jul 2009 17:55:00 +0000 (+0000) Subject: (hooke_cli.py) fixed export - bug 0011 X-Git-Tag: 0.9.0~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8752a312aa15775c955c3654d0e982d35029f7b3;p=hooke.git (hooke_cli.py) fixed export - bug 0011 --- diff --git a/hooke_cli.py b/hooke_cli.py index 65e9193..0f1fdbb 100755 --- a/hooke_cli.py +++ b/hooke_cli.py @@ -632,8 +632,11 @@ If you have a multiple plot, the optional plot to export argument tells Hooke wh #FIXME: the bottom plot doesn't have the title dest=0 - if args=='': - name=linp.safeinput('Filename?',[self.current.path+'.png']) + + if len(args)==0: + #FIXME: We have to go into the libinput stuff and fix it, for now here's a dummy replacement... + #name=linp.safeinput('Filename?',[self.current.path+'.png']) + name=raw_input('Filename? ') else: args=args.split() name=args[0] diff --git a/mfp1dexport.py b/mfp1dexport.py index 1fd0be3..c9f9404 100644 --- a/mfp1dexport.py +++ b/mfp1dexport.py @@ -35,6 +35,7 @@ class mfp1dexportDriver(lhc.Driver): self.filedata.close() def is_me(self): + #FIXME: We want a more reasonable header recognition if self.raw_header[0][0:4]=='Wave': return True else: