Generate HTML part in dry run mode (but don't write it to disk)
This commit is contained in:
parent
b9566beb80
commit
0464a3d8e7
4
iwla.py
4
iwla.py
|
@ -605,11 +605,11 @@ class IWLA(object):
|
||||||
break
|
break
|
||||||
|
|
||||||
def _generateDisplay(self):
|
def _generateDisplay(self):
|
||||||
if self.args.dry_run or\
|
if self.args.disable_display: return
|
||||||
self.args.disable_display: return
|
|
||||||
self._generateDisplayDaysStats()
|
self._generateDisplayDaysStats()
|
||||||
self._callPlugins(conf.DISPLAY_HOOK_DIRECTORY)
|
self._callPlugins(conf.DISPLAY_HOOK_DIRECTORY)
|
||||||
self._generateDisplayWholeMonthStats()
|
self._generateDisplayWholeMonthStats()
|
||||||
|
if self.args.dry_run: return
|
||||||
self.display.build(conf.DISPLAY_ROOT)
|
self.display.build(conf.DISPLAY_ROOT)
|
||||||
self._compressFiles(conf.DISPLAY_ROOT)
|
self._compressFiles(conf.DISPLAY_ROOT)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user