TusharNautiyal commited on
Commit
67df47b
1 Parent(s): 8bb17cf

Update Scheduler.py

Browse files
Files changed (1) hide show
  1. Scheduler.py +1 -1
Scheduler.py CHANGED
@@ -12,7 +12,7 @@ def isscheduled():
12
  previous_date = previous_date.strip()
13
  file.close()
14
  previous_date = datetime.strptime(previous_date[2:], '%y-%m-%d')
15
- if str(date-previous_date).split(' ')[0] == '10':
16
  return True
17
  else:
18
  return False
 
12
  previous_date = previous_date.strip()
13
  file.close()
14
  previous_date = datetime.strptime(previous_date[2:], '%y-%m-%d')
15
+ if str(date-previous_date).split(' ')[0] >= '10':
16
  return True
17
  else:
18
  return False