From 543d5618d9bfdc4983b7e61812b5e8c9a8f8ffd9 Mon Sep 17 00:00:00 2001 From: bicobus Date: Sat, 6 Jan 2024 08:01:16 +0100 Subject: [PATCH] Update copyright notice --- src/pycestorieseditor/__init__.py | 5 ++++- src/pycestorieseditor/__main__.py | 2 +- src/pycestorieseditor/ceevents.py | 2 +- src/pycestorieseditor/ceevents_template/__init__.py | 2 +- src/pycestorieseditor/ceevents_template/ceevents_modal.py | 2 +- src/pycestorieseditor/config.py | 2 +- src/pycestorieseditor/graph.py | 2 +- src/pycestorieseditor/wxlaunch.py | 2 +- src/pycestorieseditor/wxui.py | 2 +- 9 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/pycestorieseditor/__init__.py b/src/pycestorieseditor/__init__.py index 39a25a2..e3fb9d3 100644 --- a/src/pycestorieseditor/__init__.py +++ b/src/pycestorieseditor/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus from __future__ import annotations import logging @@ -15,5 +15,8 @@ logging.basicConfig( level=logging.INFO, # DEBUG, + handlers=[ + logging.FileHandler(filename=os.path.join(os.getcwd(), "pce.log"), mode="w") + ], ) logger = logging.getLogger(__name__) diff --git a/src/pycestorieseditor/__main__.py b/src/pycestorieseditor/__main__.py index 4ee0b7f..3f1ed58 100644 --- a/src/pycestorieseditor/__main__.py +++ b/src/pycestorieseditor/__main__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus import argparse import multiprocessing diff --git a/src/pycestorieseditor/ceevents.py b/src/pycestorieseditor/ceevents.py index f86841a..57a4718 100644 --- a/src/pycestorieseditor/ceevents.py +++ b/src/pycestorieseditor/ceevents.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus # # to xml: # from xml.etree import ElementTree diff --git a/src/pycestorieseditor/ceevents_template/__init__.py b/src/pycestorieseditor/ceevents_template/__init__.py index 90013e1..e8d3aa0 100644 --- a/src/pycestorieseditor/ceevents_template/__init__.py +++ b/src/pycestorieseditor/ceevents_template/__init__.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus from pycestorieseditor.ceevents_template.ceevents_modal import ( AgreeResultText, AgreeText, diff --git a/src/pycestorieseditor/ceevents_template/ceevents_modal.py b/src/pycestorieseditor/ceevents_template/ceevents_modal.py index d4c7e73..d435245 100644 --- a/src/pycestorieseditor/ceevents_template/ceevents_modal.py +++ b/src/pycestorieseditor/ceevents_template/ceevents_modal.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus # Generated by xsdata-attr (https://xsdata-attrs.readthedocs.io/en/latest/), # then modified to properly fit this project. # xsdata-attr is distributed under the MIT/X11 license. diff --git a/src/pycestorieseditor/config.py b/src/pycestorieseditor/config.py index 9e9e30d..9da7366 100644 --- a/src/pycestorieseditor/config.py +++ b/src/pycestorieseditor/config.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus import contextlib import logging diff --git a/src/pycestorieseditor/graph.py b/src/pycestorieseditor/graph.py index 9c597d4..f5e91f1 100644 --- a/src/pycestorieseditor/graph.py +++ b/src/pycestorieseditor/graph.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus import re import textwrap diff --git a/src/pycestorieseditor/wxlaunch.py b/src/pycestorieseditor/wxlaunch.py index 50f41c7..f0c77f6 100644 --- a/src/pycestorieseditor/wxlaunch.py +++ b/src/pycestorieseditor/wxlaunch.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus import logging import os from itertools import count diff --git a/src/pycestorieseditor/wxui.py b/src/pycestorieseditor/wxui.py index 298f969..fe797fd 100644 --- a/src/pycestorieseditor/wxui.py +++ b/src/pycestorieseditor/wxui.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- # Licensed under the EUPL v1.2 -# © 2023 bicobus +# © 2024 bicobus from __future__ import annotations import os