From 5748250fd483bcdb3db0bc7dfa4d0d5c8d4bd9e2 Mon Sep 17 00:00:00 2001 From: "Patrick K. O'Brien" Date: Sat, 3 May 2003 12:59:25 +0000 Subject: [PATCH] Get the real path. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/py/document.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/wxPython/py/document.py b/wxPython/wxPython/py/document.py index fd32591e88..7bba48cb54 100644 --- a/wxPython/wxPython/py/document.py +++ b/wxPython/wxPython/py/document.py @@ -24,7 +24,7 @@ class Document: self.filebase = None self.fileext = None if self.filename: - self.filepath = os.path.abspath(self.filename) + self.filepath = os.path.realpath(self.filename) self.filedir, self.filename = os.path.split(self.filepath) self.filebase, self.fileext = os.path.splitext(self.filename)