Return message for missing changelog file

This commit is contained in:
Jonathan Wong 2016-01-06 18:54:30 -08:00
commit bfad769f93

View file

@ -250,7 +250,7 @@ def read_changelog():
logfile = open(changelog_file, "r") logfile = open(changelog_file, "r")
except IOError, e: except IOError, e:
logger.error('PlexPy Version Checker :: Unable to open changelog file. %s' % e) logger.error('PlexPy Version Checker :: Unable to open changelog file. %s' % e)
return None return '<h4>Unable to open changelog file</h4>'
if logfile: if logfile:
output = '' output = ''