Ho messo un attribute error che non era vero

This commit is contained in:
2023-01-10 18:18:41 +01:00
parent 5f2e2982b1
commit c44621dae1
+1 -1
View File
@@ -83,7 +83,7 @@ class Theme(models.Model):
try:
return user_theme_manager.filter(user=user, theme__active=True).first().theme
except AttributeError as e:
except:
obj = objs_active_ls[-1]
obj.set_active()