mirror of
https://github.com/glomatico/gamdl.git
synced 2025-01-22 11:18:39 +00:00
address old python compatibility when parsing date
This commit is contained in:
parent
2d3b2b6b1f
commit
4d904e2e7c
@ -311,7 +311,7 @@ class Downloader:
|
||||
return f"{minutes:02d}:{seconds:02d}"
|
||||
|
||||
def sanitize_date(self, date: str) -> datetime.datetime:
|
||||
return datetime.datetime.fromisoformat(date).strftime(self.template_date)
|
||||
return datetime.datetime.fromisoformat(date[:-1]).strftime(self.template_date)
|
||||
|
||||
def get_decryption_key(self, pssh: str, track_id: str) -> str:
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user