fix: annotation

This commit is contained in:
Swann 2021-05-21 17:29:22 +02:00
parent ca40523393
commit 9fddfe084c
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB

View File

@ -169,9 +169,8 @@ class DynamicRightSelectTimer(Timer):
if registered_gp.owner == settings.username:
gp_node = session.repository.get_node(annotation_gp.uuid)
if gp_node.has_changed():
porcelain.commit(session.repository, gp_node.uuid)
porcelain.push(session.repository, 'origin', gp_node.uuid)
porcelain.commit(session.repository, gp_node.uuid)
porcelain.push(session.repository, 'origin', gp_node.uuid)
elif self._annotating:
session.change_owner(