mirror of
https://gitlab.com/akasroua/covot
synced 2025-04-21 22:31:12 +02:00
Compare commits
No commits in common. "master" and "0.1.0" have entirely different histories.
@ -33,7 +33,8 @@ def create_database(data) -> None:
|
||||
"""
|
||||
models.Base.metadata.create_all(bind=engine)
|
||||
existing_row = search_database(data["correo_institucional"])
|
||||
if not existing_row:
|
||||
if existing_row:
|
||||
return
|
||||
insert_data(data)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user