Skip to content

Commit 57a3596

Browse files
committed
fixed a potential bug
Signed-off-by: wiseaidev <[email protected]>
1 parent dcd84e0 commit 57a3596

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

aredis_om/model/model.py

-5
Original file line numberDiff line numberDiff line change
@@ -1207,11 +1207,6 @@ def to_string(s):
12071207
)
12081208
)
12091209

1210-
try:
1211-
del fields["id"]
1212-
except KeyError:
1213-
pass
1214-
12151210
try:
12161211
fields["json"] = fields["$"]
12171212
del fields["$"]

0 commit comments

Comments
 (0)