removed in-script settings, added settings reader
This commit is contained in:
parent
5d0e708e97
commit
1f24884ef6
|
@ -8,9 +8,12 @@ import sys
|
||||||
import os
|
import os
|
||||||
import os.path
|
import os.path
|
||||||
import subprocess
|
import subprocess
|
||||||
|
import settings
|
||||||
from mako.template import Template
|
from mako.template import Template
|
||||||
|
|
||||||
START = datetime.datetime(2011, 12, 25, 2)
|
config=settings.load_settings()
|
||||||
|
|
||||||
|
START = datetime.datetime.strptime(config['start_date'],"%Y/%m/%d")
|
||||||
HERE = os.path.dirname(__file__)
|
HERE = os.path.dirname(__file__)
|
||||||
|
|
||||||
def get_balance(acct):
|
def get_balance(acct):
|
||||||
|
|
Loading…
Reference in New Issue