mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-16 06:14:12 +00:00
code readability, formatting, minor version bump
This commit is contained in:
1 parent
8bee47dc50
commit
968849e52b
2 files changed
+13
-2
No files matched your search
@@ -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)])
|
||||
|
||||
|
||||
Reference in new issue
Block a user