zerver/migrations: Remove inheritance from object.

This commit is contained in:
rht 2017-11-05 11:46:24 +01:00 committed by showell
parent e311842a1b
commit 864e16f30d
1 changed files with 1 additions and 1 deletions

View File

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