From 2119dafbffb9a948ae90ebbcbf3c1448f2395f29 Mon Sep 17 00:00:00 2001 From: Owl Date: Tue, 26 Aug 2025 13:11:00 -0400 Subject: windows path issue --- file_ops.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'file_ops.py') diff --git a/file_ops.py b/file_ops.py index b482b88..bbad813 100644 --- a/file_ops.py +++ b/file_ops.py @@ -55,7 +55,9 @@ def get_file_name(path): # get the full path of the file/folder if (f_exists(path)): - path = os.path.abspath(path) + path = get_path_str(os.path.abspath(path)) + # ^ have to pass it through get_path_str() again because + # windows os.path.abspath() returns the string with backward slashes # start reading path string string = "" -- cgit v1.2.3-70-g09d2