diff --git a/inexSqlquery.py b/inexSqlquery.py index 39b7049..9c10e87 100644 --- a/inexSqlquery.py +++ b/inexSqlquery.py @@ -7,5 +7,5 @@ class sqlQuerymodel: FROM tbl_Transactions t Full JOIN tbl_ProtocolCommands p ON(t.TransactionID=p.TransactionID) Full join tbl_Authentications a ON(t.TransactionID=a.TransactionID) - WHERE p.Time_stamp>@stopTime AND p.Command IS NOT NULL""".replace("30", daysTopull) + WHERE p.Time_stamp>@stopTime AND p.Command IS NOT NULL""".replace("30", str(daysTopull)) return configQuery if overRideflag else q \ No newline at end of file