Add missing classmethod decorator

pull/27/head
Marek Marczykowski-Górecki 7 years ago
parent 0a7d2c0789
commit 6cb980f5be
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

@ -174,6 +174,7 @@ get_from_stream(), get_from_vm(), get_xdg_icon_from_vm(), get_through_dvm()'''
return cls(rgba=rgba, size=size)
@classmethod
def load_from_file_pil(cls, filename):
'''Loads image from local file using PIL.'''
img = PIL.Image.open(filename)

Loading…
Cancel
Save