diff --git a/fetch.backend_proto.py b/fetch.backend_proto.py index 3963504..3d4db52 100644 --- a/fetch.backend_proto.py +++ b/fetch.backend_proto.py @@ -42,7 +42,5 @@ def download_file_backend(): sched = BlockingScheduler() sched.add_job(rutina_principal, 'interval', seconds=int(os.environ.get('INTERVAL'))) #will do the print_t work for every 30 seconds - if __name__ == '__main__': - init_db(db, engine) sched.start()