mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-16 15:19:06 +00:00
modify-parent-path (#2525)
This commit is contained in:
committed by
Daniel Pan
parent
cb502cbe05
commit
20769f6b4f
@@ -81,8 +81,9 @@ class FileTagsManager(models.Manager):
|
||||
except self.model.DoesNotExist:
|
||||
return False
|
||||
|
||||
def get_dir_file_tags(self, repo_id, parent_path):
|
||||
def get_dir_file_tags(self, repo_id, path):
|
||||
|
||||
parent_path = os.path.dirname(path)
|
||||
folder_name = os.path.dirname(parent_path)
|
||||
parent_folder_uuid = FileUUIDMap.objects.get_or_create_fileuuidmap(
|
||||
repo_id, parent_path, folder_name, is_dir=True)
|
||||
|
Reference in New Issue
Block a user