Explorar o código

Fix https://github.com/gleitz/howdoi/pull/457

Benjamin Gleitzman %!s(int64=2) %!d(string=hai) anos
pai
achega
049174a5bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -46,7 +46,7 @@ def read(*names):
         for extension in ('.txt', '.md'):
             filename = name + extension
             if Path(filename).is_file():
-                with open(filename) as in_file:  # pylint: disable=unspecified-encoding
+                with open(filename, encoding='utf-8') as in_file:
                     value = in_file.read()
                 break
         values[name] = value