aboutsummaryrefslogtreecommitdiffstats
path: root/plot.py
diff options
context:
space:
mode:
Diffstat (limited to 'plot.py')
-rwxr-xr-xplot.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/plot.py b/plot.py
index 3317f54..e649025 100755
--- a/plot.py
+++ b/plot.py
@@ -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)