diff --git a/src/git_remote_dropbox/helper.py b/src/git_remote_dropbox/helper.py index f1d7738..2a83231 100644 --- a/src/git_remote_dropbox/helper.py +++ b/src/git_remote_dropbox/helper.py @@ -150,7 +150,7 @@ def _do_push(self, line: str) -> None: self._delete(dst) else: self._push(src, dst) - if self._first_push and (not remote_head or src == git.symbolic_ref("HEAD")): + if self._first_push and (not remote_head or src == git.symbolic_ref_value("HEAD")): remote_head = dst line = readline() if line == "":