Changeset eaf34a5 for src


Ignore:
Timestamp:
Jan 1, 2021, 3:59:39 PM (6 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
Branches:
debian/bullseye, master
Children:
67e5a8d
Parents:
0319ed2
Message:

Fixed typo in config import

Location:
src/gnuboat
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/gnuboat/device/daemon/daemon.py

    r0319ed2 reaf34a5  
    173173        config_object = load_config_object(os.environ['FLASK_ENV'].title())
    174174    elif os.path.isfile(config_file):
    175         from gnuboat.common.webservice import Config as configure
     175        from gnuboat.common.webservice import config as configure
    176176        config_object = configure.config_from_file(
    177177            config_file,
  • src/gnuboat/deviceservice_impl/__init__.py

    r0319ed2 reaf34a5  
    3838    config_object = load_config_object(os.environ['FLASK_ENV'].title())
    3939elif os.path.isfile(config_file):
    40     from gnuboat.common.webservice import Config as configure
     40    from gnuboat.common.webservice import config as configure
    4141    config_object = configure.config_from_file(
    4242        config_file, load_config_object('')
  • src/gnuboat/mapservice_impl/__init__.py

    r0319ed2 reaf34a5  
    4545    config_object = load_config_object(os.environ['FLASK_ENV'].title())
    4646elif os.path.isfile(config_file):
    47     from gnuboat.common.webservice import Config as configure
     47    from gnuboat.common.webservice import config as configure
    4848    config_object = configure.config_from_file(
    4949        config_file,
Note: See TracChangeset for help on using the changeset viewer.