*: Drop use of module level version

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2021-12-04 16:38:08 -05:00
1 parent cf36a9d385
commit a3d4d99b33
64 files changed
+207 -199

No files matched your search

+17 -1
View File
@@ -3,4 +3,20 @@
FreedomBox app for api for android app.
"""
version = 1
from plinth import app as app_module
class ApiApp(app_module.App):
"""FreedomBox app for API for Android app."""
app_id = 'api'
_version = 1
def __init__(self):
"""Create components for the app."""
super().__init__()
info = app_module.Info(app_id=self.app_id, version=self._version,
is_essential=True)
self.add(info)