Skip to content

Commit

Permalink
Merge branch 'psl-pylint-fix' of https://github.com/microsoft/Build-y…
Browse files Browse the repository at this point in the history
  • Loading branch information
Roopan-Microsoft committed Nov 18, 2024
2 parents afc723b + d98f6d1 commit 5657c37
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ClientAdvisor/App/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ def create_app():
app.config["TEMPLATES_AUTO_RELOAD"] = True
# app.secret_key = secrets.token_hex(16)
# app.session_interface = SecureCookieSessionInterface()
# print(app.secret_key)
return app


Expand Down Expand Up @@ -1593,6 +1592,7 @@ def get_users():
"""select DATEDIFF(d,CAST(max(StartTime) AS Date),CAST(GETDATE() AS Date)) + 3 as ndays from ClientMeetings"""
)
rows = cursor.fetchall()
ndays = 0
for row in rows:
ndays = row["ndays"]
sql_stmt1 = f"UPDATE ClientMeetings SET StartTime = dateadd(day,{ndays},StartTime), EndTime = dateadd(day,{ndays},EndTime)"
Expand Down
2 changes: 1 addition & 1 deletion ClientAdvisor/App/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ azure-search-documents==11.4.0b6
azure-storage-blob==12.17.0
python-dotenv==1.0.0
azure-cosmos==4.5.0
quart==0.19.4
quart==0.19.9
uvicorn==0.24.0
aiohttp==3.9.2
gunicorn==20.1.0
Expand Down
6 changes: 0 additions & 6 deletions ClientAdvisor/App/test_app.py

This file was deleted.

0 comments on commit 5657c37

Please sign in to comment.