diff options
author | zlg <zlg@zlg.space> | 2018-10-10 21:29:08 -0700 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-10-10 21:29:08 -0700 |
commit | 8775fcd12876f3acc5f9b919afe1cf3be238a186 (patch) | |
tree | e4f03d17a7a8db01cdf20f67a8581e84e4695772 /src/vgstash_cli.py | |
parent | cli: Add "export" command (diff) | |
download | vgstash-8775fcd12876f3acc5f9b919afe1cf3be238a186.tar.gz vgstash-8775fcd12876f3acc5f9b919afe1cf3be238a186.tar.bz2 vgstash-8775fcd12876f3acc5f9b919afe1cf3be238a186.tar.xz vgstash-8775fcd12876f3acc5f9b919afe1cf3be238a186.zip |
Move tests and data to dedicated directory
Also tweaked the export command to report correctly.
Diffstat (limited to 'src/vgstash_cli.py')
-rw-r--r-- | src/vgstash_cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vgstash_cli.py b/src/vgstash_cli.py index 72a751a..17fd301 100644 --- a/src/vgstash_cli.py +++ b/src/vgstash_cli.py @@ -270,5 +270,5 @@ def export_file(format, filepath): with open(filepath, "w") as fp: yaml.dump(game_set, fp, default_flow_style=False, indent=4, allow_unicode=True) - click.echo("Successfully exported 6 games to {}.".format(os.path.join(os.getcwd(), "test_export.yml"))) + click.echo("Successfully exported {} games to {}.".format(len(game_set), filepath)) |