From 5909ce372b85f99928e1a727fb3bbb9fa2439cb0 Mon Sep 17 00:00:00 2001 From: Raffson Date: Thu, 18 May 2023 22:36:17 +0200 Subject: [PATCH] Remove debugging try-except --- game/persistency.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/game/persistency.py b/game/persistency.py index 09ad502d..1f0371e7 100644 --- a/game/persistency.py +++ b/game/persistency.py @@ -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