Skip to content

Commit

Permalink
Always output the same deck filename
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Apr 27, 2016
1 parent 51c9b63 commit 97cd370
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ you can do so (be sure to have updated the input resources first) by running::

oonideckgen --country-code IT --output ~/

You will now have in your home a folder called `deck-YOUR_COUNTRY_CODE`, containing the ooni
You will now have in your home a folder called `deck-it`, containing the ooni
deck (ends with .deck) and the inputs.
Note: that you should not move the `deck-*` directory once it has been
generated as the paths to the inputs referenced by the test in the deck are
Expand Down
3 changes: 1 addition & 2 deletions ooni/deckgen/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@ def generate_deck(options):
if config.advanced.debug:
deck.pprint()
deck_filename = os.path.join(options['output'],
"%s-%s-user.deck" % (__version__,
options['country-code']))
"default-user.deck")
deck.write_to_file(deck_filename)
print "Deck written to %s" % deck_filename
print "Run ooniprobe like so:"
Expand Down

0 comments on commit 97cd370

Please sign in to comment.