mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
uploads: Make realm_avatar_and_logo_path non-abstract.
This commit is contained in:
committed by
Alex Vandiver
parent
8e68d68f32
commit
43fe24a5a0
@@ -1,4 +1,5 @@
|
||||
import io
|
||||
import os
|
||||
import re
|
||||
import unicodedata
|
||||
from typing import IO, Any, Callable, Optional, Tuple
|
||||
@@ -257,7 +258,7 @@ class ZulipUploadBackend:
|
||||
raise NotImplementedError()
|
||||
|
||||
def realm_avatar_and_logo_path(self, realm: Realm) -> str:
|
||||
raise NotImplementedError()
|
||||
return os.path.join(str(realm.id), "realm")
|
||||
|
||||
|
||||
def create_attachment(
|
||||
|
||||
Reference in New Issue
Block a user