Skip to content

Commit

Permalink
Merge pull request #79 from heit0r/patch-1
Browse files Browse the repository at this point in the history
Update MiUnlockTool.py
  • Loading branch information
offici5l authored Jan 30, 2025
2 parents e4fa114 + 45048f9 commit 74eebe0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MiUnlockTool.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def run(self):
elif "descEN" in r:
print(f"\ncode {r['code']}\n\n{r['descEN']}")
if r["code"] == 20036:
print("\nYou can unlock on:", (datetime.datetime.now().replace(minute=0, second=0, microsecond=0) + datetime.timedelta(hours=r["data"]["waitHour"])).strftime("%Y-%m-%d %H:%M"))
print("\nYou can unlock (repeat this process) on:", (datetime.datetime.now().replace(minute=0, second=0, microsecond=0) + datetime.timedelta(hours=r["data"]["waitHour"])).strftime("%Y-%m-%d %H:%M"))
else:
print(f"{cgg}\noffici5l.github.io/code\n{cres}")
else:
Expand All @@ -375,4 +375,4 @@ def run(self):
print(p_)

if not os.path.exists("/data/data/com.termux"):
input("\nPress Enter to exit ...")
input("\nPress Enter to exit ...")

0 comments on commit 74eebe0

Please sign in to comment.