Skip to content

Commit

Permalink
Black formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomgross committed Nov 26, 2021
1 parent 35269b8 commit bb9d917
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pcloud/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,13 @@ def uploadfile(self, **kwargs):
]
else: # 'data' in kwargs:
files = [
("file", (kwargs.pop("filename", "data-upload.bin"), BytesIO(kwargs.pop("data"))))
(
"file",
(
kwargs.pop("filename", "data-upload.bin"),
BytesIO(kwargs.pop("data")),
),
)
]
return self._upload("uploadfile", files, **kwargs)

Expand Down

0 comments on commit bb9d917

Please sign in to comment.