Remove debugging try-except

This commit is contained in:
Raffson
2023-05-18 22:36:17 +02:00
parent 386844378e
commit 5909ce372b

View File

@@ -45,11 +45,7 @@ class MigrationUnpickler(pickle.Unpickler):
if name == "Thunderstorm":
from game.weather.weather import Thunderstorm
return Thunderstorm
try:
return super().find_class(module, name)
except AttributeError:
print(module, name)
return None
return super().find_class(module, name)
# fmt: on