Argvemulator still used the old Alias API. Fixed.

This commit is contained in:
Jack Jansen 2003-02-18 23:28:05 +00:00
parent 443ada47c3
commit b135548d0d
1 changed files with 2 additions and 2 deletions

View File

@ -101,8 +101,8 @@ class ArgvCollector:
def open_file(self, _object=None, **args): def open_file(self, _object=None, **args):
for alias in _object: for alias in _object:
fss = alias.Resolve()[0] fsr = alias.FSResolveAlias(None)[0]
pathname = fss.as_pathname() pathname = fsr.as_pathname()
sys.argv.append(pathname) sys.argv.append(pathname)
self._quit() self._quit()