Allow parsing of .txt files on import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2016-05-05 09:26:10 +03:00 committed by Dirk Hohndel
parent b2d2d13650
commit 74065ad8aa
2 changed files with 14 additions and 2 deletions

View file

@ -884,7 +884,7 @@ int parse_txt_file(const char *filename, const char *csv)
record_dive(dive);
return 1;
} else {
return report_error(translate("gettextFromC", "No matching DC found for file '%s'"), csv);
return 0;
}
return 0;