mirror of
https://github.com/FAUSheppy/atlantis-event-dispatcher
synced 2025-12-06 06:21:36 +01:00
This commit is contained in:
@@ -30,6 +30,9 @@ BAD_DISPATCH_ACCESS_TOKEN = "Invalid or missing dispatch-access-token parameter
|
|||||||
|
|
||||||
def _apply_substitution(string):
|
def _apply_substitution(string):
|
||||||
|
|
||||||
|
if not string:
|
||||||
|
return string
|
||||||
|
|
||||||
for replace, match in app.config["SUBSTITUTIONS"].items():
|
for replace, match in app.config["SUBSTITUTIONS"].items():
|
||||||
string = string.replace(match, replace)
|
string = string.replace(match, replace)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user