File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 20
20
)
21
21
22
22
try :
23
- from PIL .Image .Resampling import LANCZOS
23
+ from PIL import Image
24
+
25
+ LANCZOS = Image .Resampling .LANCZOS
24
26
except ModuleNotFoundError :
25
27
from PIL .Image import LANCZOS
26
28
Original file line number Diff line number Diff line change 24
24
)
25
25
26
26
try :
27
- from PIL .Image .Resampling import LANCZOS
27
+ from PIL import Image
28
+
29
+ LANCZOS = Image .Resampling .LANCZOS
28
30
except ModuleNotFoundError :
29
31
from PIL .Image import LANCZOS
30
32
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class Leveler(
29
29
):
30
30
"""A level up thing with image generation!"""
31
31
32
- __version__ = "3.0.5 "
32
+ __version__ = "3.0.6 "
33
33
34
34
# noinspection PyMissingConstructor
35
35
def __init__ (self , bot : Red ):
You can’t perform that action at this time.
0 commit comments