Skip to content

Commit

Permalink
fix black format
Browse files Browse the repository at this point in the history
  • Loading branch information
morozsm committed Nov 20, 2020
1 parent 04977dd commit b312962
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion topalias/aliascore.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ def load_command_bank(filtering=False): # pylint: disable=too-many-branches
try:
with io.FileIO(r"{}".format(history_file_path), "r") as history_data:
history_data_encoded = io.TextIOWrapper(
history_data, encoding="UTF-8", errors="ignore",
history_data,
encoding="UTF-8",
errors="ignore",
)
for line in history_data_encoded:
if HISTORY_FILE == ".bash_history":
Expand Down

0 comments on commit b312962

Please sign in to comment.