Skip to content

Commit

Permalink
Fixed variable to use file path rather than program path
Browse files Browse the repository at this point in the history
  • Loading branch information
sternj committed Aug 9, 2023
1 parent 31b9312 commit b468dfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scalene/scalene_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def output_profiles(
)

# Print out the the profile for the source, line by line.
full_fname = program
full_fname = fname
try:
with open(full_fname, "r", encoding="utf-8") as source_file:
code_lines = source_file.readlines()
Expand Down

0 comments on commit b468dfa

Please # to comment.