Skip to content

Commit

Permalink
run.py: don't decode already decoded str
Browse files Browse the repository at this point in the history
  • Loading branch information
inashivb committed Jul 26, 2023
1 parent ac3b297 commit ced8029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -1186,7 +1186,7 @@ def main():
try:
with open(path, "r") as fcontents:
try:
buf = fcontents.read().decode()
buf = fcontents.read()
print(buf)
except:
print(" - [Not dumping file that won't utf-8 decode]")
Expand Down

0 comments on commit ced8029

Please sign in to comment.