Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion status-light/utility/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ def _read_file(self, file, strip: bool = True):
return secret
else:
try:
with open(file, encoding='platform') as file:
with open(file) as file: # pylint: disable=unspecified-encoding
secret = file.read()
if strip:
secret = secret.strip()
Expand Down