diff options
| author | TrainDoctor <traindoctor@protonmail.com> | 2022-10-22 18:48:59 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-22 18:48:59 -0700 |
| commit | 05eefd80a5315c6cd7e72718878682d7de29f56f (patch) | |
| tree | 69c506a8bcb14bc16f6a5defce2c1357a0b9ed8f | |
| parent | 8dd0b92dc09906e19cc19a22222ca06e74914963 (diff) | |
| download | decky-bazzite-buddy-05eefd80a5315c6cd7e72718878682d7de29f56f.tar.gz decky-bazzite-buddy-05eefd80a5315c6cd7e72718878682d7de29f56f.zip | |
Update main.py
| -rw-r--r-- | main.py | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -15,4 +15,8 @@ class Plugin: # Asyncio-compatible long-running code, executed in a task when the plugin is loaded async def _main(self): logger.info("Hello World!") + + # Function called first during the unload process, utilize this to handle your plugin being removed + async def _unload(self): + logger.info("Goodbye World!") pass |
