From 6cb980f5be410d9b570d9e60d026d8efa5127435 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Tue, 21 Nov 2017 05:34:01 +0100 Subject: [PATCH] Add missing classmethod decorator --- imgconverter/qubesimgconverter/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/imgconverter/qubesimgconverter/__init__.py b/imgconverter/qubesimgconverter/__init__.py index 40a5499..55ed840 100644 --- a/imgconverter/qubesimgconverter/__init__.py +++ b/imgconverter/qubesimgconverter/__init__.py @@ -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)