This is even better

This commit is contained in:
Veronica K. B. Olsen
2020-05-28 00:29:45 +02:00
parent 5be945b901
commit f9e2d57fa7
5 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -691,9 +691,9 @@ class GuiBuildNovel(QDialog):
"""Translates old formatting codes to new ones.
"""
theFormat = theFormat.replace(r"%chnum%", r"%ch%")
theFormat = theFormat.replace(r"%scnum%", r"%sc1%")
theFormat = theFormat.replace(r"%scabsnum%", r"%sc2%")
theFormat = theFormat.replace(r"%chnumword%", r"%chword%")
theFormat = theFormat.replace(r"%scnum%", r"%sc%")
theFormat = theFormat.replace(r"%scabsnum%", r"%sca%")
theFormat = theFormat.replace(r"%chnumword%", r"%chw%")
return theFormat
# END Class GuiBuildNovel