From 7d70c38fb854107b64509e7fbd60a799861c02a8 Mon Sep 17 00:00:00 2001 From: pi3c Date: Sun, 8 Oct 2023 19:30:23 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20=D0=BD?= =?UTF-8?q?=D0=B0=20=D1=81=D1=82=D0=B0=D0=B4=D0=B8=D0=B8=20=D1=80=D0=B0?= =?UTF-8?q?=D0=B7=D0=B2=D0=B5=D1=80=D1=82=D1=8B=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F,=20=D0=BD=D0=B5=20=D1=83=D0=B2=D0=B8=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=20=D1=81=D0=B2=D0=BE=D0=B9=20=D0=BA=D0=BE=D1=81=D1=8F=D0=BA)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyproger/cli/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproger/cli/commands.py b/pyproger/cli/commands.py index 00079d5..79a0f34 100644 --- a/pyproger/cli/commands.py +++ b/pyproger/cli/commands.py @@ -37,7 +37,7 @@ def create_superuser(name): super_user_role = check_role("superuser") if super_user_role is None: - Role(name="superuser") + super_user_role = Role(name="superuser") db.session.add(super_user_role) db.session.commit()