Skip to content

Commit

Permalink
Update AccountPatch.py
Browse files Browse the repository at this point in the history
  • Loading branch information
VensGTH committed Sep 19, 2024
1 parent e19907f commit 7ceebf4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t5de/patches/python/AccountPatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ def __init__(self):

def patch(self, context):
if context.pattern == "ENABLE_CREATOR":
context.write("def isCreator(self):", indent=1)
context.write("return True\n\n", indent=2)
context.write(context.line)
context.write("return True\n", indent=2)
context.write(context.line.replace("isCreator", "chkCreator"))
elif context.pattern == "DISABLE_CLIENT_ADS":
context.write(context.line)
Expand Down

0 comments on commit 7ceebf4

Please sign in to comment.