Skip to content

Commit

Permalink
docs: Update comments
Browse files Browse the repository at this point in the history
Signed-off-by: William Moreno Reyes CP|MBA <[email protected]>
  • Loading branch information
williamjmorenor committed Jul 14, 2024
1 parent 3d86b98 commit 107c858
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion cacao_accounting_desktop/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# Copyright 2024 William José Moreno Reyes
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Cacao Accounting como aplicación de escritorio."""

# ---------------------------------------------------------------------------------------
# Libreria estandar
# ---------------------------------------------------------------------------------------
Expand Down Expand Up @@ -45,7 +61,7 @@


# ---------------------------------------------------------------------------------------
# Se define aquí por: FileNotFoundError:
# Se define aquí para evitar un error de directorio no encontrado.
# ---------------------------------------------------------------------------------------
FILE_LIST = os.listdir(APP_DATA_DIR)

Expand All @@ -54,6 +70,7 @@
# Funciones auxiliares
# ---------------------------------------------------------------------------------------
def get_database_file_list():
"""Return database files as a list. """
DB_FILES = []
for file in FILE_LIST:
if file.endswith(".db"):
Expand Down

0 comments on commit 107c858

Please sign in to comment.