diff options
author | Agustin Zubiaga <aguzubiaga97@gmail.com> | 2012-02-04 16:18:20 (GMT) |
---|---|---|
committer | Agustin Zubiaga <aguzubiaga97@gmail.com> | 2012-02-04 16:18:20 (GMT) |
commit | 44bcb99d1142cecdb916c02cd375899c91907b37 (patch) | |
tree | 94aea95f7012314ab12799a4164f64ea6c6aa7d5 /activity.py | |
parent | 63ad55ab07a8ae73d0f626f3a92abeb6ffc95c7d (diff) |
Bugs in read_file method fixed.
Diffstat (limited to 'activity.py')
-rw-r--r-- | activity.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/activity.py b/activity.py index c053af8..68f9d53 100644 --- a/activity.py +++ b/activity.py @@ -465,12 +465,14 @@ class SimpleGraph(activity.Activity): self.metadata["title"] = line elif num == 2: - self.options[2].set_text(line) - self.x_label = line + if line != "": + self.options[2].entry.set_text(line) + self.x_label = line elif num == 3: - self.options[3].set_text(line) - self.y_label = line + if line != "": + self.options[3].entry.set_text(line) + self.y_label = line elif num == 4: self.chart_color = line |