Remove py<3.6 support
MODIFY
plex_trakt_sync/plex_api.py
plex_trakt_sync/plex_api.py
@@ -226,10 +226,7 @@ def date_value(self, date):
if not date:
raise ValueError("Value can't be None")
- try:
return date.astimezone(datetime.timezone.utc)
- except ValueError: # for py<3.6
- return date
def __repr__(self):
return "<%s:%s:%s>" % (self.guid.provider, self.guid.id, self.item)

Remove py<3.6 support