fix lint errors
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
Max Erenberg 2021-09-26 14:56:09 -04:00
parent faa5c73145
commit a6b32c1b0b
1 changed files with 1 additions and 3 deletions

View File

@ -1,5 +1,3 @@
from threading import Thread
from asciimatics.widgets import Layout, Label, Text
from zope import component
@ -40,7 +38,7 @@ class SetPositionsView(CeoFrame):
self.save()
body = {pos: username for pos, username in self.data.items() if username}
self._model.deferred_req = defer(http_post, f'/api/positions', json=body)
self._model.deferred_req = defer(http_post, '/api/positions', json=body)
self._model.operations = UpdateMemberPositionsTransaction.operations
self._model.confirm_lines = [
"The positions will be updated as follows:",