fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rel
[librarian.git]
/
src
/
librarian
/
command_line.py
diff --git
a/src/librarian/command_line.py
b/src/librarian/command_line.py
index
2fc7cc1
..
08c769f
100644
(file)
--- a/
src/librarian/command_line.py
+++ b/
src/librarian/command_line.py
@@
-1,3
+1,6
@@
+# This file is part of Librarian, licensed under GNU Affero GPLv3 or later.
+# Copyright © Fundacja Wolne Lektury. See NOTICE for more information.
+#
import argparse
import os.path
from .builders import builders
import argparse
import os.path
from .builders import builders
@@
-58,6
+61,6
@@
def main(*args, **kwargs):
"mp3": args.mp3,
}
"mp3": args.mp3,
}
- output = document.build(builder, **kwargs)
+ output = document.build(builder,
base_url=args.base_url,
**kwargs)
with open(output_file_path, 'wb') as f:
f.write(output.get_bytes())
with open(output_file_path, 'wb') as f:
f.write(output.get_bytes())