Private GIT

Skip to content
Snippets Groups Projects
Commit c1c519b7 authored by Alexandre Beloin's avatar Alexandre Beloin
Browse files

Merge pull request #1814 from TagForce/fix_subtitles_referenced_before_assignment

parents 975c0dd2 e80ad9ed
Branches
Tags
No related merge requests found
...@@ -1440,6 +1440,7 @@ class TVEpisode(object): ...@@ -1440,6 +1440,7 @@ class TVEpisode(object):
helpers.chmodAsParent(subtitle.path) helpers.chmodAsParent(subtitle.path)
except ServiceError as e: except ServiceError as e:
logger.log("Service is unavailable: {0}".format(str(e)), logger.INFO) logger.log("Service is unavailable: {0}".format(str(e)), logger.INFO)
return
except Exception as e: except Exception as e:
logger.log("Error occurred when downloading subtitles: " + str(e), logger.ERROR) logger.log("Error occurred when downloading subtitles: " + str(e), logger.ERROR)
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment