Skip to content

Commit

Permalink
Remove debug print call
Browse files Browse the repository at this point in the history
  • Loading branch information
norinorin committed Oct 24, 2024
1 parent acd1694 commit e7e9b54
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions anime_rpc/monkey_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ def source(o): # type: ignore
r"\1 or None",
source_,
)
patched = re.sub(
r"(self._setup\(\))",
r"\1\n\n print(remove_none(act) or None)\n",
patched,
)

loc = {}
exec(compile(ast.parse(patched), "<string>", "exec"), discordrpc.presence.__dict__, loc) # type: ignore
Expand Down

0 comments on commit e7e9b54

Please sign in to comment.