📋 Preparation for next phase
While waiting for quota reset (01:40): - Created Mythical Highlands manifest (95 assets ready) - Production summary for today - Updated automation script (timezone fix) Current status: - Dino Valley: 91/109 (83%) - Automation running, will complete at 01:50 - Next: Mythical Highlands (€38, ~2h) Total progress: 254/14,000 (1.81%)
This commit is contained in:
5
scripts/auto_generate_overnight.py
Normal file → Executable file
5
scripts/auto_generate_overnight.py
Normal file → Executable file
@@ -8,7 +8,7 @@ import os
|
||||
import time
|
||||
import json
|
||||
import requests
|
||||
from datetime import datetime, timedelta
|
||||
from datetime import datetime, timedelta, timezone
|
||||
from pathlib import Path
|
||||
import base64
|
||||
|
||||
@@ -93,7 +93,8 @@ def log(message):
|
||||
|
||||
def wait_for_quota_reset():
|
||||
"""Wait until quota resets"""
|
||||
now = datetime.now()
|
||||
# Make now timezone-aware to match QUOTA_RESET_TIME
|
||||
now = datetime.now(timezone.utc).astimezone()
|
||||
wait_seconds = (QUOTA_RESET_TIME - now).total_seconds()
|
||||
|
||||
if wait_seconds > 0:
|
||||
|
||||
Reference in New Issue
Block a user