mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
*: 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:
1 parent
cf36a9d385
commit
a3d4d99b33
64 files changed
+207
-199
No files matched your search
@@ -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)
|
||||
Reference in new issue
Block a user