feat: add automation module for background task handling

This commit is contained in:
Victor Phan
2026-07-21 11:14:42 +07:00
parent 502a215167
commit dde8ac0337
+5
View File
@@ -141,3 +141,8 @@ class ShopeeBot:
except Exception as e:
return {"status": "error", "message": f"Lỗi không xác định: {str(e)}"}
finally:
# Luôn thoát ra màn hình chính (Homescreen) sau khi lấy xong (hoặc lỗi)
logging.info("Thoát ra màn hình chính (Homescreen)...")
self.d.press("home")