Skip to content
Snippets Groups Projects
Commit c67871da authored by inso's avatar inso
Browse files

Fix crash #375

parent 6e5ebb82
Branches
Tags
No related merge requests found
......@@ -297,8 +297,13 @@ class Transfer(QObject):
return False
for transition in self._table_states[transition_key]:
if transition[0](*inputs):
if self.sha_hash:
logging.debug("{0} : {1} --> {2}".format(self.sha_hash[:5], self.state.name,
transition[2].name))
else:
logging.debug("Unsent transfer : {0} --> {1}".format(self.state.name,
transition[2].name))
# If the transition changes data, apply changes
if transition[1]:
transition[1](*inputs)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment