Skip to content

Commit 8ff37b8

Browse files
committed
Remove unused bind=True and self parameter from update_config
1 parent 09208c6 commit 8ff37b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openwisp_controller/connection/tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ def _release_update_config_lock(device_id):
3636
cache.delete(lock_key)
3737

3838

39-
@shared_task(bind=True)
40-
def update_config(self, device_id):
39+
@shared_task
40+
def update_config(device_id):
4141
"""
4242
Launches the ``update_config()`` operation
4343
of a specific device in the background

0 commit comments

Comments
 (0)