Projet

Général

Profil

0001-misc-always-load-site-options-as-utf-8-43490.patch

Frédéric Péters, 01 juin 2020 09:10

Télécharger (909 octets)

Voir les différences:

Subject: [PATCH] misc: always load site-options as utf-8 (#43490)

 wcs/qommon/publisher.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/qommon/publisher.py
363 363
        if not os.path.exists(site_options_filename):
364 364
            return
365 365
        try:
366
            self.site_options.read(site_options_filename)
366
            self.site_options.read(site_options_filename, encoding='utf-8')
367 367
        except:
368 368
            self.get_app_logger().error('failed to read site options file')
369 369
            return
370
-