mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	uploads: Remove ExceededQuotaError class.
We are no longer using it.
This commit is contained in:
		| @@ -78,9 +78,6 @@ def random_name(bytes: int=60) -> Text: | ||||
| class BadImageError(JsonableError): | ||||
|     code = ErrorCode.BAD_IMAGE | ||||
|  | ||||
| class ExceededQuotaError(JsonableError): | ||||
|     code = ErrorCode.QUOTA_EXCEEDED | ||||
|  | ||||
| def resize_avatar(image_data: bytes, size: int=DEFAULT_AVATAR_SIZE) -> bytes: | ||||
|     try: | ||||
|         im = Image.open(io.BytesIO(image_data)) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user