mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-30 06:29:49 +01:00
Entrances now do cookie / git author thing. + tidyup.
This commit is contained in:
@@ -218,7 +218,9 @@ def git_string(author_string):
|
||||
return author_string
|
||||
else:
|
||||
editor = author_string.replace("@","_at_")
|
||||
editor = re.sub('[^0-9a-zA-Z_\.]+', '*', editor)
|
||||
editor = re.sub('[^0-9a-zA-Z_\.]+', '_', editor)
|
||||
if editor.startswith("_"):
|
||||
editor = "X" + editor
|
||||
editor += f" <{editor}@potatohut.expo>"
|
||||
print(f"++ Not git-compatible author string '{author_string}', replacing as '{editor}'")
|
||||
return editor
|
||||
|
||||
Reference in New Issue
Block a user