Open EliotGann opened 5 years ago
Thanks for the report. I think the simplest fix here would be to change the default value of directory to '.'
, if that works. I was actually surprised that ''
works on Linux; it seems improper or at least unusual. Can you confirm that directory='.'
works on Windows --- i.e. that it resolves to the current working directory?
No, it does not work on Windows. We tested multiple scenarios, and the only thing which worked was os.getcwd()
.
Interesting. On Windows, CPython sets os.path.curdir
to '.'
so I would expect '.'
to work. Maybe it doesn't join properly with the rest of the path. Can we see the traceback when you try to use '.'
, @EliotGann? (The example above just shows ''
.)
Created by @mrakitin while trying suitcase-tiff exported at SST-2/RSOXS.
It is also true for all suitcases.
Current behavior:
Expected behavior:
If the
directory
kwarg is''
or'.'
, it should properly recognize it and convert to current directory, as it does it on Linux (with e.g.os.getcwd()
).