diff --git a/bin/core.py b/bin/core.py index 6d94772..7429c19 100644 --- a/bin/core.py +++ b/bin/core.py @@ -6,6 +6,21 @@ WWW = os.path.join("..","www") CONFIG = os.path.join("config") DATA = os.path.join("..", "data") +MONTHS = { + "01":"january", + "02":"february", + "03":"march", + "04":"april", + "05":"may", + "06":"june", + "07":"july", + "08":"august", + "09":"september", + "10":"october", + "11":"november", + "12":"december" + } + HEADER = open(os.path.join(CONFIG, "header.txt")).read() FOOTER = open(os.path.join(CONFIG, "footer.txt")).read() @@ -44,7 +59,7 @@ def write_entry(file): entry = [ "\t\t
\n", "\t\t" ]