1
0
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:
zhengxie
2017-02-13 16:57:01 +08:00
parent 2cb9d4c753
commit e52aa50fe6

View File

@@ -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