Compare commits
1
Commits
release/1.0.1
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
14230bd489 |
@@ -102,9 +102,9 @@ class Generator:
|
||||
try:
|
||||
self.target_sentences_path.parent.mkdir(parents=True, exist_ok=True)
|
||||
self.target_sentences_path.write_text(content)
|
||||
self.log.info("Wrote sentences output to %s", self.target_path)
|
||||
self.log.info("Wrote sentences output to %s", self.target_sentences_path)
|
||||
except OSError as e:
|
||||
self.log.error(
|
||||
"Could not write sentences output file at: %s (%s)", self.target_path, e
|
||||
"Could not write sentences output file at: %s (%s)", self.target_sentences_path, e
|
||||
)
|
||||
sys.exit(1)
|
||||
|
||||
Reference in New Issue
Block a user