aboutsummaryrefslogtreecommitdiffstats
path: root/python/download_scotia.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/download_scotia.py')
-rw-r--r--python/download_scotia.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/python/download_scotia.py b/python/download_scotia.py
index 05d0829d..e7c3aafb 100644
--- a/python/download_scotia.py
+++ b/python/download_scotia.py
@@ -4,7 +4,6 @@ from selenium import webdriver
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.support.ui import WebDriverWait
from report_ops.logger import get_logger
-import sys
from serenitas.utils.env import DAILY_DIR
@@ -71,12 +70,8 @@ def create_driver(download_dir):
return webdriver.Firefox(firefox_profile=fp, options=options)
-def main():
+def download_scotia_report():
scotia_login = {"selene-ops@lmcg.com": "oeujG*UF!53o"}
for username, password in scotia_login.items():
REPORT_DIR = DAILY_DIR / "Selene" / "Scotia_reports"
download_report(username, password, REPORT_DIR)
-
-
-if __name__ == "__main__":
- main()