mirror of
https://github.com/sartography/uva-covid19-testing-communicator.git
synced 2025-02-23 12:28:26 +00:00
be sure to request a transfer on a regular schedule.
This commit is contained in:
parent
108191e8a4
commit
f6cbac6473
@ -35,6 +35,7 @@ def update_data():
|
||||
"""Updates the database based on local files placed by IVY. No longer attempts
|
||||
to pull files from the Firebase service."""
|
||||
ivy_service = IvyService()
|
||||
ivy_service.request_transfer()
|
||||
samples = ivy_service.load_directory()
|
||||
SampleService().add_or_update_records(samples)
|
||||
db.session.commit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user