From 864e16f30d44ef8df039dab82067e9a1dfe85f8c Mon Sep 17 00:00:00 2001 From: rht Date: Sun, 5 Nov 2017 11:46:24 +0100 Subject: [PATCH] zerver/migrations: Remove inheritance from object. --- zerver/migrations/0077_add_file_name_field_to_realm_emoji.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/migrations/0077_add_file_name_field_to_realm_emoji.py b/zerver/migrations/0077_add_file_name_field_to_realm_emoji.py index 378ce011e4..eb78fd6db4 100644 --- a/zerver/migrations/0077_add_file_name_field_to_realm_emoji.py +++ b/zerver/migrations/0077_add_file_name_field_to_realm_emoji.py @@ -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") -class Uploader(object): +class Uploader: def __init__(self) -> None: self.path_template = "{realm_id}/emoji/{emoji_file_name}" self.emoji_size = (64, 64)