diff --git a/src/maestral/client.py b/src/maestral/client.py index a62066e37..8d0957a2b 100644 --- a/src/maestral/client.py +++ b/src/maestral/client.py @@ -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()