Add format as file extension
This commit is contained in:
parent
74a39b3ff5
commit
34e95f8f7b
1 changed files with 2 additions and 1 deletions
|
|
@ -163,7 +163,8 @@ class Boobill(ReplApplication):
|
||||||
names = (backend_name,) if backend_name is not None else None
|
names = (backend_name,) if backend_name is not None else None
|
||||||
|
|
||||||
if dest is None:
|
if dest is None:
|
||||||
dest = id
|
for backend, bill in self.do('get_bill', id, backends=names):
|
||||||
|
dest = id + "." + bill.format
|
||||||
|
|
||||||
for backend, buf in self.do('download_bill', id, backends=names):
|
for backend, buf in self.do('download_bill', id, backends=names):
|
||||||
if buf:
|
if buf:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue