Skip to content

Commit

Permalink
(ipdevpoll) Fix unicode related crash in multiprocess mode
Browse files Browse the repository at this point in the history
Fixes #1618
  • Loading branch information
sigmunau committed Nov 27, 2017
1 parent e61aed2 commit 61ff008
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/nav/ipdevpoll/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class Job(amp.Command):
"""Represent a job for sending to a worker"""
arguments = [
(b'netbox', amp.Integer()),
(b'job', amp.String()),
(b'plugins', amp.ListOf(amp.String())),
(b'job', amp.Unicode()),
(b'plugins', amp.ListOf(amp.Unicode())),
(b'interval', amp.Integer()), # Needs to be included in database record.
# Not used for scheduling
(b'serial', amp.Integer()), # Serial number needed for cancelling
Expand Down

0 comments on commit 61ff008

Please sign in to comment.