israel-dryer / ttkbootstrap

A supercharged theme extension for tkinter that enables on-demand modern flat style themes inspired by Bootstrap.
MIT License
1.9k stars 381 forks source link

Update widgets.py #491

Open vladislavkovalskyi opened 1 year ago

vladislavkovalskyi commented 1 year ago
File "C:\Users\<username>\AppData\Local\pypoetry\Cache\virtualenvs\kolauncher--XERxPS3-py3.11\Lib\site-packages\ttkbootstrap\widgets.py", line 718, in __init__
    self._setup_widget()
  File "C:\Users\<username>\AppData\Local\pypoetry\Cache\virtualenvs\kolauncher--XERxPS3-py3.11\Lib\site-packages\ttkbootstrap\widgets.py", line 759, in _setup_widget
    self._draw_meter()
  File "C:\Users\<username>\AppData\Local\pypoetry\Cache\virtualenvs\kolauncher--XERxPS3-py3.11\Lib\site-packages\ttkbootstrap\widgets.py", line 856, in _draw_meter
    img.resize((self._metersize, self._metersize), Image.BITCUBIC)
                                                   ^^^^^^^^^^^^^^
AttributeError: module 'PIL.Image' has no attribute 'BITCUBIC'. Did you mean: 'BICUBIC'?
rdbende commented 1 year ago

Duplicate of a bunch of PRs, most notably #490

rdbende commented 10 months ago

The issue was resolved by the merge of #490. Please close this one.