Fix copy pasted docs and snake_case files

This commit is contained in:
Lonami Exo
2018-07-28 11:28:02 +02:00
parent 26f121060d
commit f2c8663266
4 changed files with 5 additions and 5 deletions

View File

@@ -0,0 +1,9 @@
from ..types import InputFile
class InputSizedFile(InputFile):
"""InputFile class with two extra parameters: md5 (digest) and size"""
def __init__(self, id_, parts, name, md5, size):
super().__init__(id_, parts, name, md5.hexdigest())
self.md5 = md5.digest()
self.size = size