Skip to content

Commit

Permalink
Fix python warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
raldone01 committed Nov 21, 2024
1 parent 98a6887 commit ab442bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def get_call_site_source_code(current_frame) -> str:
function_call = caller.code_context[positions.lineno - 1 : positions.end_lineno]

# Remove whitespaces and newlines
call_site_source_code = re.sub("\s+", " ", "".join(function_call))
call_site_source_code = re.sub(r"\s+", " ", "".join(function_call))
return call_site_source_code


Expand Down

0 comments on commit ab442bb

Please sign in to comment.