202 |
if self.options.library_path != None: |
if self.options.library_path != None: |
203 |
_path = os.path.abspath(self.options.library_path) |
_path = os.path.abspath(self.options.library_path) |
204 |
_pathsrc = "command line options" |
_pathsrc = "command line options" |
205 |
# when a special path is specified, use that as the file-open location |
# when a special path is specified, use the last path component as the file-open location |
206 |
self.fileopenpath = _path |
if platform.system()=="Windows": |
207 |
|
self.fileopenpath = _path.split(":").pop() |
208 |
|
else: |
209 |
|
self.fileopenpath = _path.split(":").pop() |
210 |
else: |
else: |
211 |
if _prefpath: |
if _prefpath: |
212 |
_path = _prefpath |
_path = _prefpath |