We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7640c4d commit 3a4dac8Copy full SHA for 3a4dac8
src/ugrd/base/core.py
@@ -1,5 +1,5 @@
1
__author__ = "desultory"
2
-__version__ = "4.1.0"
+__version__ = "4.1.1"
3
4
from pathlib import Path
5
from shutil import rmtree, which
@@ -258,8 +258,11 @@ def _process_out_file(self, out_file: str) -> None:
258
return
259
260
if "/" in out_file: # If the out_file contains a path, resolve it
261
- out_file = Path(out_file).resolve()
262
- self.logger.info("Resolved relative output path: %s" % out_file)
+ out_file = Path(out_file)
+ resolved_out_file = out_file.resolve()
263
+ if resolved_out_file != out_file:
264
+ out_file = resolved_out_file
265
+ self.logger.info("Resolved relative output path: %s" % out_file)
266
else:
267
out_file = Path(out_file)
268
0 commit comments