app.py 289 B

12345678910
  1. """General function module"""
  2. from app import LOGGER, api
  3. def sync_deep_exploration(region_id):
  4. """Check resources and refill if necessary"""
  5. LOGGER.info('Sync deep exploration history for %s', region_id)
  6. result = api.download_deep_explorations(region_id)
  7. print(result)