Private GIT

Skip to content
Snippets Groups Projects
Commit 200bcb9a authored by Dustyn Gibson's avatar Dustyn Gibson
Browse files

Merge branch 'unrar2-fix2' into develop

parents 582e00aa 8d6431cf
No related branches found
No related tags found
No related merge requests found
......@@ -173,7 +173,10 @@ class RarFileImplementation(object):
data['size'] = int(fields[1])
attr = fields[0]
data['isdir'] = 'd' in attr.lower()
try:
data['datetime'] = time.strptime(fields[2]+" "+fields[3], '%d-%m-%y %H:%M')
except ValueError:
data['datetime'] = time.strptime(fields[2]+" "+fields[3], '%y-%m-%d %H:%M')
data['comment'] = None
data['volume'] = None
yield data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment