dokuwiki update only when configured
This commit is contained in:
parent
ed57d08a10
commit
aa0a707d49
9
autorev2
9
autorev2
@ -233,9 +233,10 @@ for z in rev.zones():
|
||||
revfile.write_text(newrev)
|
||||
print(f"{revfile} modified.")
|
||||
|
||||
wikitext = ""
|
||||
for z in rev.zones():
|
||||
wikitext += "\n".join(rev.zone_wiki(z)) +"\n\n"
|
||||
dokuwiki_update(wikitext)
|
||||
if conf.dokuwiki_url:
|
||||
wikitext = ""
|
||||
for z in rev.zones():
|
||||
wikitext += "\n".join(rev.zone_wiki(z)) +"\n\n"
|
||||
dokuwiki_update(wikitext)
|
||||
|
||||
# vim: set tabstop=4 shiftwidth=4 expandtab smarttab:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user