Skip to content

Commit e312056

Browse files
author
Christian Holl
committed
Merge branch 'hotfix/HumanDate'
2 parents 9ba3d1b + 514aa26 commit e312056

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FlashAir/card.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def __init__(self, file_name, directory_name, size, attributes, date, time):
4444

4545
date=int(date)
4646
self.date=date;
47-
self.date_human=(((date&(0x3F<<9))>>9)+1980,((date&(0x1F<<5))>>5),date&(0x1F))
47+
self.date_human=(((date&(0x3F<<9))>>9)+1980,((date&(0xF<<5))>>5),date&(0x1F))
4848

4949

5050
class command(object):

0 commit comments

Comments
 (0)