code readability, formatting, minor version bump

This commit is contained in:
Anton Larin
2023-06-17 12:40:28 +02:00
parent 8bee47dc50
commit 968849e52b
2 changed files with 13 additions and 2 deletions

View File

@@ -19,9 +19,11 @@ try:
except FileExistsError:
pass
def metadata_from_filename(title):
return {'title': title}
def generate_random_string(length):
return ''.join([string.ascii_letters[i % 52] for i in range(length)])