Fixes #16025: Fix execution of scripts via the runscript management command

This commit is contained in:
Jeremy Stretch 2024-05-08 10:07:22 -04:00
parent 5c5c0e1e43
commit ff8dabe8d9
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class Command(BaseCommand):
module_name, script_name = script.split('.', 1)
module, script = get_module_and_script(module_name, script_name)
script = script.python_class
# Take user from command line if provided and exists, other
if options['user']: