Skip to content

Commit

Permalink
able to create file
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoTian committed Aug 17, 2016
1 parent 3ccdeb5 commit 0c5afb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda/cli/main_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ def execute_config(args, parser):
del rc_config[key]

# config.rc_keys
with open(rc_path, 'w') as rc:
with open(rc_path, 'w+') as rc:
rc.write(yaml_dump(rc_config))

if args.json:
Expand Down

0 comments on commit 0c5afb2

Please sign in to comment.