mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 16:36:20 +00:00
runner.py: expanduser() basedirs, so '~' works. Closes #51.
This commit is contained in:
parent
8b9d7d6306
commit
d0db98cc40
@ -74,7 +74,7 @@ class CreateClientOptions(usage.Options):
|
||||
def postOptions(self):
|
||||
if self['basedir'] is None:
|
||||
raise usage.UsageError("<basedir> parameter is required")
|
||||
self['basedir'] = os.path.abspath(self['basedir'])
|
||||
self['basedir'] = os.path.abspath(os.path.expanduser(self['basedir']))
|
||||
|
||||
class CreateIntroducerOptions(usage.Options):
|
||||
optParameters = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user