mirror of
https://github.com/malmeloo/FindMy.py.git
synced 2026-04-18 01:53:58 +02:00
examples: Set all log levels to INFO
This commit is contained in:
@@ -9,7 +9,7 @@ from findmy.reports import RemoteAnisetteProvider
|
||||
# URL to (public or local) anisette server
|
||||
ANISETTE_SERVER = "http://localhost:6969"
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
|
||||
def fetch_reports(priv_key: str) -> int:
|
||||
|
||||
@@ -10,7 +10,7 @@ from findmy.reports import RemoteAnisetteProvider
|
||||
# URL to (public or local) anisette server
|
||||
ANISETTE_SERVER = "http://localhost:6969"
|
||||
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
|
||||
async def fetch_reports(priv_key: str) -> int:
|
||||
|
||||
@@ -3,6 +3,7 @@ Example showing how to fetch locations of an AirTag, or any other FindMy accesso
|
||||
"""
|
||||
from __future__ import annotations
|
||||
|
||||
import logging
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
@@ -14,6 +15,8 @@ from findmy.reports import RemoteAnisetteProvider
|
||||
# URL to (public or local) anisette server
|
||||
ANISETTE_SERVER = "http://localhost:6969"
|
||||
|
||||
logging.basicConfig(level=logging.INFO)
|
||||
|
||||
|
||||
def main(plist_path: str) -> int:
|
||||
# Step 0: create an accessory key generator
|
||||
|
||||
Reference in New Issue
Block a user