diff --git a/populate_db_once.py b/populate_db_once.py index c9db29b..a736a3d 100644 --- a/populate_db_once.py +++ b/populate_db_once.py @@ -1,8 +1,4 @@ -from sqlalchemy import create_engine -from sqlalchemy.orm import sessionmaker - from create_db import Card, get_session -from get_files import get_file_list from config import CONFIG import nextcloud_client @@ -14,8 +10,6 @@ nc.login(CONFIG['NC_USER'],CONFIG['NC_PASSWORD']) l = nc.list("/GIA CLOUD") - -#stuff = get_file_list() for item in l: if item.get_name()[-4:] == ".pdf": name = item.get_name()