Skip to content

Commit

Permalink
fix runscript command
Browse files Browse the repository at this point in the history
  • Loading branch information
arthanson authored and jeremystretch committed May 4, 2023
1 parent 3eba65b commit f3826e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox/extras/management/commands/runscript.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def _run_script():

# Create the job
job = Job.objects.create(
instance=module,
object=module,
name=script.name,
user=User.objects.filter(is_superuser=True).order_by('pk')[0],
job_id=uuid.uuid4()
Expand Down

0 comments on commit f3826e6

Please sign in to comment.