File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,7 @@ def command_freeze(args):
340340
341341 dest = dest_prompt
342342
343- dest = os .path .abspath (os .path .relpath (dest ))
343+ dest = os .path .abspath (os .path .relpath (os . path . expanduser ( dest ) ))
344344 if prompt_yes_no ('Write to %s?' % dest ):
345345 buf = open (dest , 'w' )
346346 buf .write (newconfig )
@@ -425,7 +425,7 @@ def command_import_teamocil(args):
425425
426426 print (output )
427427 elif args .config :
428- configfile = os .path .abspath (os .path .relpath (args .config ))
428+ configfile = os .path .abspath (os .path .relpath (os . path . expanduser ( args .config ) ))
429429 configparser = kaptan .Kaptan (handler = 'yaml' )
430430
431431 if os .path .exists (configfile ):
@@ -466,7 +466,7 @@ def command_import_teamocil(args):
466466
467467 dest = dest_prompt
468468
469- dest = os .path .abspath (os .path .relpath (dest ))
469+ dest = os .path .abspath (os .path .relpath (os . path . expanduser ( dest ) ))
470470 if prompt_yes_no ('Write to %s?' % dest ):
471471 buf = open (dest , 'w' )
472472 buf .write (newconfig )
You can’t perform that action at this time.
0 commit comments