mirror of https://github.com/devine-dl/devine.git
Re-implement title listing with rich tree
Note that the full title list will no longer be printed unless --list-titles is used.
This commit is contained in:
parent
f7c4d72108
commit
97b3dbeed2
|
@ -289,9 +289,8 @@ class dl:
|
||||||
(1, 2)
|
(1, 2)
|
||||||
))
|
))
|
||||||
|
|
||||||
|
console.log(titles.tree(verbose=list_titles))
|
||||||
if list_titles:
|
if list_titles:
|
||||||
for title in titles:
|
|
||||||
console.log(title)
|
|
||||||
return
|
return
|
||||||
|
|
||||||
for i, title in enumerate(titles):
|
for i, title in enumerate(titles):
|
||||||
|
|
Loading…
Reference in New Issue