diff --git a/copyparty/th_cli.py b/copyparty/th_cli.py index 9eb49a4f..33bc43b8 100644 --- a/copyparty/th_cli.py +++ b/copyparty/th_cli.py @@ -128,5 +128,8 @@ class ThumbCli(object): if abort: return None + if not bos.path.getsize(os.path.join(ptop, rem)): + return None + x = self.broker.ask("thumbsrv.get", ptop, rem, mtime, fmt) return x.get() # type: ignore