providers/*: fix launch_url not working

This commit is contained in:
Jens Langhammer
2020-09-17 21:53:57 +02:00
parent 1eeb64ee39
commit cba78b4de7
3 changed files with 5 additions and 7 deletions

View File

@ -160,7 +160,7 @@ class Application(PolicyBindingModel):
if self.meta_launch_url:
return self.meta_launch_url
if self.provider:
return self.provider.launch_url
return self.get_provider().launch_url
return None
def get_provider(self) -> Optional[Provider]: