mirror of https://github.com/zulip/zulip.git
zerver/migrations: Remove inheritance from object.
This commit is contained in:
parent
e311842a1b
commit
864e16f30d
|
@ -37,7 +37,7 @@ def force_str(s: Union[Text, binary_type], encoding: Text='utf-8') -> str:
|
||||||
raise TypeError("force_str expects a string type")
|
raise TypeError("force_str expects a string type")
|
||||||
|
|
||||||
|
|
||||||
class Uploader(object):
|
class Uploader:
|
||||||
def __init__(self) -> None:
|
def __init__(self) -> None:
|
||||||
self.path_template = "{realm_id}/emoji/{emoji_file_name}"
|
self.path_template = "{realm_id}/emoji/{emoji_file_name}"
|
||||||
self.emoji_size = (64, 64)
|
self.emoji_size = (64, 64)
|
||||||
|
|
Loading…
Reference in New Issue