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
This commit is contained in:
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user