mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 10:58:33 +00:00
[notificaion] Handle the case that filename contains :
This commit is contained in:
@@ -75,7 +75,7 @@ class Command(BaseCommand):
|
|||||||
)
|
)
|
||||||
|
|
||||||
def email_repo_owner(self, repo_file):
|
def email_repo_owner(self, repo_file):
|
||||||
repo_id, file_path = repo_file.split(':')
|
repo_id, file_path = repo_file.split(':', 1)
|
||||||
owner = seafile_api.get_repo_owner(repo_id)
|
owner = seafile_api.get_repo_owner(repo_id)
|
||||||
if not owner:
|
if not owner:
|
||||||
return
|
return
|
||||||
|
Reference in New Issue
Block a user