diff options
| -rw-r--r-- | python/master.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/master.py b/python/master.py index 42092da7..3db5a6d7 100644 --- a/python/master.py +++ b/python/master.py @@ -8,9 +8,9 @@ from common import root def run(): dealsfile = os.path.join(root, "scripts", "deals_to_price.txt") q = redis.Redis(unix_socket_path='/var/run/redis/redis.sock') - workdate = str(datetime.date.today()) while True: + workdate = str(datetime.date.today()) if os.path.exists(dealsfile): with open(dealsfile) as fh: for line in fh: |
