imalplibutil calls strptime with string
datetime.datetime.strptime wants a string object, but we have a bytes object. We need decode it.
This commit is contained in:
		| @@ -249,7 +249,7 @@ def Internaldate2epoch(resp): | ||||
|         return None | ||||
|  | ||||
|     # Get the month number | ||||
|     datetime_object = datetime.datetime.strptime(mo.group('mon'), "%b") | ||||
|     datetime_object = datetime.datetime.strptime(mo.group('mon').decode('utf-8'), "%b") | ||||
|     mon = datetime_object.month | ||||
|  | ||||
|     zonen = mo.group('zonen') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Rodolfo García Peñas (kix)
					Rodolfo García Peñas (kix)