commit | d5ed4daa9649a206a5f7b0209e7a4331dee8c5e4 | [log] [tgz] |
---|---|---|
author | koder aka kdanilov <kdanilov@mirantis.com> | Thu May 07 23:33:23 2015 +0300 |
committer | koder aka kdanilov <kdanilov@mirantis.com> | Thu May 07 23:34:00 2015 +0300 |
tree | 299ba11a8db73f70a0ac3fecb8f95785e757a88b | |
parent | f86d7af6aa95d3ba374c8024d118aa8c5a168f63 [diff] [blame] |
a lot of changes
diff --git a/wally/charts.py b/wally/charts.py index 828438c..b4472a4 100644 --- a/wally/charts.py +++ b/wally/charts.py
@@ -122,8 +122,7 @@ bar.legend(*legend) bar.scale(*scale) - img_name = file_name + ".png" - img_path = os.path.join(cfg_dict['charts_img_path'], img_name) + img_path = file_name + ".png" if not os.path.exists(img_path): bar.save(img_path)