summaryrefslogtreecommitdiff
path: root/src/vgstash_cli.py
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2018-10-10 21:29:08 -0700
committerzlg <zlg@zlg.space>2018-10-10 21:29:08 -0700
commit8775fcd12876f3acc5f9b919afe1cf3be238a186 (patch)
treee4f03d17a7a8db01cdf20f67a8581e84e4695772 /src/vgstash_cli.py
parentcli: Add "export" command (diff)
downloadvgstash-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.py2
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))