Skip to content

Commit

Permalink
typing fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
samschott committed May 15, 2024
1 parent 592baee commit 7666b12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/maestral/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def _throttled_download_iter(self, iterator: Iterator[T]) -> Iterator[T]:
if wait_time > self.DATA_TRANSFER_MIN_SLEEP_TIME:
time.sleep(wait_time)

def _throttled_upload_iter(self, data: bytes) -> Iterator[bytes] | bytes:
def _throttled_upload_iter(self, data: bytes) -> Iterator[bytes]:
pos = 0
while pos < len(data):
tick = time.monotonic()
Expand Down

0 comments on commit 7666b12

Please sign in to comment.