Merge branch 'master' of github.com:Paul-Houser/StartTree into master

merge
This commit is contained in:
Paul Houser 2020-08-24 00:53:06 -07:00
commit 6a1067b4cd

View File

@ -4,6 +4,7 @@ import yaml
import os
from os.path import expanduser
from shutil import copyfile
from bs4 import BeautifulSoup
# get home directory
home = expanduser("~")
@ -15,6 +16,12 @@ config_path = home + '/.config/StartTree/config.yaml'
# get cache path
cache_dir = home + '/.cache/StartTree'
def prettifyHTML():
html = "<div><h1>Hello</h1></div>"
soup = BeautifulSoup(html, 'html.parser')
prettyHTML = print(soup.prettify())
return prettyHTML
def setup():
# check if .config path exists
if not os.path.isdir(home + '/.config'):