mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-09 06:13:53 +01:00
new project started
This commit is contained in:
22
revpimodio2/app.py
Normal file
22
revpimodio2/app.py
Normal file
@@ -0,0 +1,22 @@
|
||||
#
|
||||
# python3-RevPiModIO
|
||||
#
|
||||
# Webpage: https://revpimodio.org/
|
||||
# (c) Sven Sager, License: LGPLv3
|
||||
#
|
||||
# -*- coding: utf-8 -*-
|
||||
"""Bildet die App Sektion von piCtory ab."""
|
||||
|
||||
|
||||
class App(object):
|
||||
|
||||
"""Bildet die App Sektion der config.rsc ab."""
|
||||
|
||||
def __init__(self, app):
|
||||
"""Instantiiert die App-Klasse.
|
||||
@param app piCtory Appinformationen"""
|
||||
self.name = app["name"]
|
||||
self.version = app["version"]
|
||||
self.language = app["language"]
|
||||
# TODO: Layout untersuchen und anders abbilden
|
||||
self.layout = app["layout"]
|
||||
Reference in New Issue
Block a user