1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

#9028 - Fix pep8 syntax

This commit is contained in:
kkthxbye-code
2022-04-04 18:13:13 +02:00
parent 36d6ae33d1
commit 69b4d0d44b
2 changed files with 1 additions and 2 deletions

View File

@ -550,7 +550,7 @@ class JobResult(models.Model):
user=user,
job_id=uuid.uuid4()
)
queue = django_rq.get_queue("default")
queue.enqueue(func, job_id=str(job_result.job_id), job_result=job_result, **kwargs)

View File

@ -418,7 +418,6 @@ def is_variable(obj):
return isinstance(obj, ScriptVariable)
#@job('default')
def run_script(data, request, commit=True, *args, **kwargs):
"""
A wrapper for calling Script.run(). This performs error handling and provides a hook for committing changes. It