mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-04-11 10:09:29 +02:00
disable noisy log
This commit is contained in:
parent
dc1353ca98
commit
e96a195476
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,6 @@ import simple_cache
|
|||
|
||||
config = __import__("0_config")
|
||||
|
||||
print(simple_cache.read_cache(config.atp_cache_folder() + 'atp_metadata_website_latest.cache'))
|
||||
|
||||
def main():
|
||||
download_latest_atp_dataset()
|
||||
|
@ -16,6 +15,7 @@ def caching_time():
|
|||
day_in_seconds = 60 * 60 * 24
|
||||
return 1 * day_in_seconds
|
||||
|
||||
#print(simple_cache.read_cache(config.atp_cache_folder() + 'atp_metadata_website_latest.cache'))
|
||||
@simple_cache.cache_it(filename=config.atp_cache_folder() + "atp_metadata_website_history.cache", ttl=caching_time())
|
||||
def get_atp_history():
|
||||
response = requests.get("https://data.alltheplaces.xyz/runs/history.json", timeout=10)
|
||||
|
|
Loading…
Add table
Reference in a new issue