Argvemulator still used the old Alias API. Fixed.
This commit is contained in:
parent
443ada47c3
commit
b135548d0d
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue