From 7666b12d5355bc4fde88c056f37539841ecc6f47 Mon Sep 17 00:00:00 2001 From: samschott Date: Thu, 16 May 2024 00:21:08 +0200 Subject: [PATCH] typing fixes --- src/maestral/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()