diff options
Diffstat (limited to 'python/globeop.py')
| -rw-r--r-- | python/globeop.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/globeop.py b/python/globeop.py index 80515b83..e0c56fbb 100644 --- a/python/globeop.py +++ b/python/globeop.py @@ -2,6 +2,7 @@ import logging import argparse import pandas as pd from task_server.globeop import download_data, upload_data +from sqlalchemy import create_engine logging.basicConfig(filename='/home/share/CorpCDOs/logs/globeop.log', level=logging.INFO, @@ -23,4 +24,4 @@ if args.download: download_data(args.date) elif args.upload: engine = create_engine('postgresql://dawn_user@debian/dawndb') - upload_data(args.date) + upload_data(engine, args.date) |
