mnarizzano / SEEGA

SEEG Assistant
GNU General Public License v3.0
26 stars 17 forks source link

AttributeError: 'dict' object has no attribute 'has_key' #93

Closed mosenco closed 2 years ago

mosenco commented 2 years ago

has_key() is deprecated in python3. Now it's in 07e3f7e

ref: [https://www.geeksforgeeks.org/python-dictionary-has_key/#:~:text=In%20Python%20Dictionary%2C%20has_key(),the%20dictionary%2C%20else%20returns%20false.&text=Parameters%3A,be%20searched%20in%20the%20dictionary.](https://www.geeksforgeeks.org/python-dictionary-has_key/#:~:text=In%20Python%20Dictionary%2C%20has_key(),the%20dictionary%2C%20else%20returns%20false.&text=Parameters%3A,be%20searched%20in%20the%20dictionary.)