Line 796: invalid syntax

File "/volume1/Plex/Library/Application Support/Plex Media Server/Plug-ins/Hama.bundle/Contents/Code/__init__.py", line 796
    try:  if url.endswith(['GZ', 'gz']):  string = Archive.GzipDecompress( HTTP.Request(url, headers={'Accept-Encoding':'gzip'}, timeout=60, cacheTime=CACHE_1HOUR * 24 * 7 * 2 ).content ) )
           ^
SyntaxError: invalid syntax