Subversion Repositories SmartDukaan

Rev

Rev 14305 | Rev 14474 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 14305 Rev 14407
Line 6... Line 6...
6
 
6
 
7
def main():
7
def main():
8
        try:
8
        try:
9
            
9
            
10
            now = datetime.now()
10
            now = datetime.now()
11
            if now.hour == 0 and now.weekday()==int(PythonPropertyReader.getConfig('CREDIT_DAY_OF_WEEK')):
11
            if now.hour == 12 and now.weekday()==int(PythonPropertyReader.getConfig('CREDIT_DAY_OF_WEEK')):
12
                tprint("Settling payback")
12
                tprint("Settling payback")
13
                settlePayBack()
13
                settlePayBack()
14
        except:
14
        except:
15
            tprint("Error")
15
            tprint("Error")
16
            traceback.print_exc()
16
            traceback.print_exc()