From a4892146033bf5739c6231ff9a156ce20e0ebd77 Mon Sep 17 00:00:00 2001 From: dcz <dcz@ipipan.waw.pl> Date: Fri, 1 Jul 2022 14:19:41 +0200 Subject: [PATCH] Logging bugfix. --- unifier/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unifier/models.py b/unifier/models.py index f6496d8..2fd744c 100644 --- a/unifier/models.py +++ b/unifier/models.py @@ -53,7 +53,7 @@ class UnifiedFrame(models.Model): new_unified_frame_arguments = UnifiedFrameArgument.objects.filter(unified_frame=new_frame).all() unified_frame_arguments = UnifiedFrameArgument.objects.filter(unified_frame=self).all() if len(new_unified_frame_arguments) < len(unified_frame_arguments): - raise Exception('Target frame has to little arguments, required: ' + len(unified_frame_arguments)+', but found: '+len(new_unified_frame_arguments)) + raise Exception('Target frame has to little arguments, required: ' + str(len(unified_frame_arguments))+', but found: '+str(len(new_unified_frame_arguments))) for slowal_frame in slowal_frames: mapping = UnifiedFrame2SlowalFrameMapping.objects.get(unified_frame=self, slowal_frame=slowal_frame) -- GitLab