Display genres in module help.

This commit is contained in:
Bastian Kleineidam 2013-11-12 20:09:13 +01:00
parent 125983a04f
commit 2816566a3a
2 changed files with 5 additions and 0 deletions

View file

@ -17,6 +17,9 @@ Fixes:
- comics: Removed broken AetheriaEpics, ChuckBrain, Fallen, HMHigh, - comics: Removed broken AetheriaEpics, ChuckBrain, Fallen, HMHigh,
IanJay, InsideOut, Nodwick, WebcomicsNation_ClownSamurai IanJay, InsideOut, Nodwick, WebcomicsNation_ClownSamurai
Changes:
- cmdline: Display genres in module help (dosage -m).
Dosage 2.5 (released 18.7.2013) Dosage 2.5 (released 18.7.2013)

2
dosage
View file

@ -176,6 +176,8 @@ def displayComicHelp(scraperobj):
out.info(u"Description: " + scraperobj.description) out.info(u"Description: " + scraperobj.description)
if scraperobj.lang: if scraperobj.lang:
out.info(u"Language: " + getLangName(scraperobj.lang)) out.info(u"Language: " + getLangName(scraperobj.lang))
if scraperobj.genres:
out.info(u"Genres: " + ", ".join(scraperobj.genres))
if scraperobj.help: if scraperobj.help:
for line in scraperobj.help.splitlines(): for line in scraperobj.help.splitlines():
out.info(line) out.info(line)