summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index aeeee3a..ac52d94 100644
--- a/README.md
+++ b/README.md
@@ -159,7 +159,7 @@ It is also possible to pack/unpack custom data types. Here is an example for
}
def decode_datetime(obj):
- if b'__datetime__' in obj:
+ if '__datetime__' in obj:
obj = datetime.datetime.strptime(obj["as_str"], "%Y%m%dT%H:%M:%S.%f")
return obj