perf: change structure and simplify
This commit is contained in:
@@ -9,9 +9,9 @@ logging.basicConfig(level=logging.INFO)
|
||||
async def main() -> None:
|
||||
cpf = "00011122233"
|
||||
async with PPGEE(user=cpf, password=cpf) as ppgee:
|
||||
frequency_page = await ppgee.frequency()
|
||||
print(frequency_page.history())
|
||||
await frequency_page.confirm()
|
||||
attendency_page = await ppgee.attendency()
|
||||
print(attendency_page.history())
|
||||
await attendency_page.confirm()
|
||||
await asyncio.sleep(5)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user