mirror of
https://github.com/naruxde/revpimodio2.git
synced 2025-11-08 22:03:53 +01:00
20 lines
558 B
Python
20 lines
558 B
Python
# -*- coding: utf-8 -*-
|
|
"""Bildet die App Sektion von piCtory ab."""
|
|
__author__ = "Sven Sager"
|
|
__copyright__ = "Copyright (C) 2018 Sven Sager"
|
|
__license__ = "LGPLv3"
|
|
|
|
|
|
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"]
|