Skip to content

Commit

Permalink
Merge pull request #183 from mxcube/deperecation_fix
Browse files Browse the repository at this point in the history
deperecation fix
  • Loading branch information
IvarsKarpics authored Jul 27, 2017
2 parents 509a6e0 + 65bb412 commit ef6c73b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BlissFramework/Bricks/widgets/Qt4_dc_tree_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def mount_sample_task(self):
except Exception as e:
items[0].setText(1, "Error loading")
msg = "Error loading sample, please check" +\
" sample changer: " + e.message
" sample changer: " + str(e)
logging.getLogger("user_level_log").error(msg)
finally:
self.enable_collect(True)
Expand Down
2 changes: 1 addition & 1 deletion BlissFramework/Bricks/widgets/dc_tree_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def mount_sample_task(self):
except Exception as e:
items[0].setText(1, "Error loading")
msg = "Error loading sample, please check" +\
" sample changer: " + e.message
" sample changer: " + str(e)
logging.getLogger("user_level_log").error(msg)
finally:
self.enable_collect(True)
Expand Down

0 comments on commit ef6c73b

Please sign in to comment.