add_db takes commline line argv for path

This commit is contained in:
Jesse Cirimelli-Low 2019-03-06 22:21:05 -08:00
parent c1770036ac
commit 4754e6851d
1 changed files with 2 additions and 1 deletions

View File

@ -1,11 +1,12 @@
from pathlib import Path
import glob
import os
import sys
# This is the path to the directory you would like to search
# This directory is searched recursively for .html files
path_to_files = '../temp/'
path_to_files = sys.argv[1]
def get_file_tree(path):