Misc fixes

This commit is contained in:
2025-12-01 21:07:01 +00:00
parent 3acaf230c4
commit 6a329e3ba9
5 changed files with 18 additions and 8 deletions

View File

@@ -16,8 +16,9 @@ def alert_tanner(message):
except BaseException as e:
logging.error('Problem alerting Tanner: ' + str(e))
NUM_ID_CHARS = 4
def gen_rand_id():
return ''.join(random.choice(string.ascii_uppercase) for _ in range(4))
return ''.join(random.choice(string.ascii_uppercase) for _ in range(NUM_ID_CHARS))
def render_md(md):
if md: