mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
remove version 4 from uuid generator
This commit is contained in:
parent
ca1a4878ce
commit
6ceb0ccf5b
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ async def assert_data(db_conn, es_client, users, uploaded_files):
|
|||
|
||||
def get_uuid(val):
|
||||
try:
|
||||
return uuid.UUID(val, version=4)
|
||||
return uuid.UUID(val)
|
||||
except ValueError:
|
||||
id = convert_string_to_uuid(val)
|
||||
return id
|
||||
|
|
|
|||
Loading…
Reference in a new issue