summaryrefslogtreecommitdiff
path: root/main.py
blob: a1690fb09d33f406eb9ef4e8108c793010e5ef62 (plain)
1
2
3
4
5
6
7
8
9
class Plugin:
    # noinspection PyMethodMayBeStatic
    async def get_bazzite_branch(self) -> str | None:
        try:
            file = open("/etc/bazzite/image_branch")
            branch = file.read()
            return branch
        finally:
            return "stable"