Skip to content

Commit ec500a5

Browse files
committed
fixed imports after merge
1 parent 7a144b1 commit ec500a5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

mergin/merginproject.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
conflicted_copy_file_name,
2525
edit_conflict_file_name,
2626
)
27+
from .local_changes import FileChange
2728

2829
this_dir = os.path.dirname(os.path.realpath(__file__))
2930

@@ -786,7 +787,9 @@ def apply_pull_actions(self, actions: List[PullAction], download_dir: str, serve
786787
# no rebase needed, just apply the diff
787788
self.update_without_rebase(path, server_file, live_file, basefile, download_dir)
788789

789-
elif action_type == PullActionType.COPY_CONFLICT and not prevent_conflicted_copy(path, mc, server_project):
790+
elif action_type == PullActionType.COPY_CONFLICT and not prevent_conflicted_copy(
791+
path, mc, server_project.get("role")
792+
):
790793
conflict = self.create_conflicted_copy(path, mc.username())
791794
conflicts.append(conflict)
792795
if self.is_versioned_file(path):

0 commit comments

Comments
 (0)