Skip to content

Commit

Permalink
boxine#27 fixed copy-paste mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
Skrattoune authored Mar 30, 2022
1 parent e818817 commit fd1e29c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions huey_monitor/tqdm.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ def __init__(self,
# what's happen ;)
logger.warning(
"Process info description '%(desc)r' has been cropped to maximum authorized value (%(max_length)r)",
params={'desc': self.desc, 'max_length': TASK_MODEL_DESC_MAX_LENGTH,},
self.desc = self.desc[:TASK_MODEL_DESC_MAX_LENGTH]
params={'desc': self.desc, 'max_length': TASK_MODEL_DESC_MAX_LENGTH,}
)
self.desc = self.desc[:TASK_MODEL_DESC_MAX_LENGTH]

TaskModel.objects.filter(task_id=task.id).update(
desc=self.desc,
Expand Down

0 comments on commit fd1e29c

Please sign in to comment.