Skip to content

Commit 9f80283

Browse files
committed
Fix typo in DatetimeTextRecord.to_bytes()
1 parent 3b09052 commit 9f80283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wcf/records/text.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ def __str__(self):
415415
return dt.isoformat()
416416

417417
def to_bytes(self):
418-
bytes = super(DateTimeTextRecord, self).to_bytes()
418+
bytes = super(DatetimeTextRecord, self).to_bytes()
419419
bytes += struct.pack('<Q',
420420
(self.tz & 3) | (self.value & 0x1FFFFFFFFFFFFFFF) << 2)
421421

0 commit comments

Comments
 (0)