diff options
| -rwxr-xr-x | plot.py | 5 |
1 files changed, 4 insertions, 1 deletions
| @@ -328,7 +328,10 @@ class SchedPlotter(defapp.App): | |||
| 328 | self.err("Warning: '%s' doesn't look like a CSV file." | 328 | self.err("Warning: '%s' doesn't look like a CSV file." |
| 329 | % bname) | 329 | % bname) |
| 330 | conf = decode(name) | 330 | conf = decode(name) |
| 331 | tmpfile = get_data_tmpfile(datafile) | 331 | try: |
| 332 | tmpfile = get_data_tmpfile(datafile) | ||
| 333 | except IOError: | ||
| 334 | tmpfile = None | ||
| 332 | if tmpfile: | 335 | if tmpfile: |
| 333 | if 'spec' in conf: | 336 | if 'spec' in conf: |
| 334 | self.plot_spec(tmpfile.name, name, conf) | 337 | self.plot_spec(tmpfile.name, name, conf) |
