Skip to content

Commit bb9ae11

Browse files
committed
atempt to fix 'UUID' object has no attribute 'replace'
1 parent 9a73188 commit bb9ae11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/guid.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def process_bind_param(self, value, dialect):
1818
if value is None:
1919
return value
2020
elif dialect.name == 'postgresql':
21-
return uuid.UUID(value)
21+
return uuid.UUID(value).bytes
2222
else:
2323
if not isinstance(value, uuid.UUID):
2424
return uuid.UUID(value).bytes

0 commit comments

Comments
 (0)