Closed ghost closed 3 years ago
I've been unable to save a file to a user-specified path. I think the problem is among the conditions of the if block in do_save_as_file. Line 132 is:
if
do_save_as_file
and os.path.isfile(user_entered_path)
but the os.path documentation says isfile checks if a path exists, so I believe it's failing on valid paths that don't point to a file.
os.path
isfile
I don't see an easy fix, but this might be useful.
just comment it out for now and but maybe join it with application states.current_path
This seems to be fixed, do we want to close?
I've been unable to save a file to a user-specified path. I think the problem is among the conditions of the
if
block indo_save_as_file
. Line 132 is:but the
os.path
documentation saysisfile
checks if a path exists, so I believe it's failing on valid paths that don't point to a file.I don't see an easy fix, but this might be useful.