[33] check for None version

This commit is contained in:
meisnate12 2022-04-24 11:03:43 -04:00
parent 5d15c2302d
commit 3249bb15b5
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
1.16.5-develop32
1.16.5-develop33

View file

@ -367,7 +367,7 @@ class ConfigFile:
self.Webhooks = Webhooks(self, self.webhooks, notifiarr=self.NotifiarrFactory)
try:
self.Webhooks.start_time_hooks(self.start_time)
if self.version[1] != self.latest_version[1] or (self.version[2] and self.version[2] < self.latest_version[2]):
if self.version and (self.version[1] != self.latest_version[1] or (self.version[2] and self.version[2] < self.latest_version[2])):
self.Webhooks.version_hooks(self.version, self.latest_version)
except Failed as e:
logger.stacktrace()