diff --git a/CHANGES.rst b/CHANGES.rst index 309370f..f0a2b97 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,8 @@ 2.1 (unreleased) ---------------- -- Nothing changed yet. +- The remote didn't work for the outfile if you used port forwarding + from localhost. 2.0 (2023-10-19) diff --git a/src/unoserver/client.py b/src/unoserver/client.py index c9b90ef..4ed9a92 100644 --- a/src/unoserver/client.py +++ b/src/unoserver/client.py @@ -87,7 +87,7 @@ def convert( result = proxy.convert( inpath, indata, - outpath if self.server in ("127.0.0.1", "localhost") else None, + None if self.remote else outpath, convert_to, filtername, filter_options,