Skip to content

Conversation

@kporangehat
Copy link

The before_app_launch hook now gets the same parameters as the app_launch hook which means you have access to the path of the application being launched and any arguments passed in. Also added a version parameter which will contain the version being launched if it was defined in the "versions" setting in the Launcher instance (otherwise this will be None).

The before_app_launch hook now gets the same parameters as the app_launch hook which means you have access to the path of the application being launched and any arguments passed in. Also added a version parameter which will contain the version being launched *if* it was defined in the "versions" setting in the Launcher instance (otherwise this will be None).
app.py Outdated
this will be None.
"""
if version is None:
return version
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very minor but I think this would be clearer if it was 'return None'

@alandann
Copy link
Contributor

One very minor comment but otherwise looks good :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants