From 7d3f8acf5260bf0d5458d258111e05a05859e535 Mon Sep 17 00:00:00 2001 From: Eduardo Pedroni Date: Sun, 12 Jul 2015 21:00:53 +0200 Subject: Started fiddling with decks --- src/eu/equalparts/cardbase/cli/CardbaseCLI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eu/equalparts/cardbase/cli') diff --git a/src/eu/equalparts/cardbase/cli/CardbaseCLI.java b/src/eu/equalparts/cardbase/cli/CardbaseCLI.java index 866314a..d67a198 100644 --- a/src/eu/equalparts/cardbase/cli/CardbaseCLI.java +++ b/src/eu/equalparts/cardbase/cli/CardbaseCLI.java @@ -220,7 +220,7 @@ public class CardbaseCLI { } else { // handle these exceptions locally - they don't necessarily mean the program should exit try { - cardbase.writeCardbase(outputFile); + cardbase.writeCollection(outputFile); // we are now working off outputFile, which may or may not be the same as cardbaseFile at this point cardbaseFile = outputFile; System.out.println("Cardbase was saved to \"" + outputFile.getAbsolutePath() + "\". " -- cgit v1.2.3