Skip to content

Commit a0e073f

Browse files
Update app.py
1 parent 1c560dd commit a0e073f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ClientAdvisor/App/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,7 +1588,7 @@ def get_users():
15881588
cursor.execute(sql_stmt)
15891589
rows = cursor.fetchall()
15901590

1591-
if len(rows) == 0:
1591+
if len(rows) <= 6:
15921592
#update ClientMeetings,Assets,Retirement tables sample data to current date
15931593
cursor = conn.cursor()
15941594
cursor.execute("""select DATEDIFF(d,CAST(max(StartTime) AS Date),CAST(GETDATE() AS Date)) + 3 as ndays from ClientMeetings""")
@@ -1641,4 +1641,4 @@ def get_users():
16411641
if conn:
16421642
conn.close()
16431643

1644-
app = create_app()
1644+
app = create_app()

0 commit comments

Comments
 (0)