This fixes the following error present in Python 3.8:
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
return self.func(*args)
File "/Users/antonigierczak/Github/MTGA_Draft_17Lands/overlay.py", line 1665, in <lambda>
add_button = Button(popup, command=lambda: self._add_set(popup,
File "/Users/antonigierczak/Github/MTGA_Draft_17Lands/overlay.py", line 2373, in _add_set
message_box = tkinter.messagebox.showwarning(
AttributeError: module 'tkinter' has no attribute 'messagebox'
^C^CException in Tkinter callback
Traceback (most recent call last):
File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/tkinter/__init__.py", line 1889, in __call__
This occurs when "Add Set" is called from the Data tab. By adding this import it should fix it. At the very least, a superflous import will not break versions in which this attribute is not transitively imported.
This fixes the following error present in Python 3.8:
This occurs when "Add Set" is called from the Data tab. By adding this import it should fix it. At the very least, a superflous import will not break versions in which this attribute is not transitively imported.