From 236beb70d879ccea3acc34bc4f17db765172f972 Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Sat, 13 Feb 2021 20:18:55 +1100 Subject: [PATCH] minor formatting fix --- pa_job_manager.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pa_job_manager.py b/pa_job_manager.py index 541000d..fc2084a 100644 --- a/pa_job_manager.py +++ b/pa_job_manager.py @@ -831,7 +831,7 @@ def CheckForDups(job): res = session.execute( f"select count(e1.name) as count from entry e1, file f1, dir d1, entry_dir_link edl1, entry e2, file f2, dir d2, entry_dir_link edl2 where e1.id = f1.eid and e2.id = f2.eid and d1.eid = edl1.dir_eid and edl1.entry_id = e1.id and edl2.dir_eid = d2.eid and edl2.entry_id = e2.id and d1.path_prefix like '%{path}%' and f1.hash = f2.hash and e1.id != e2.id" ) for row in res: if row.count > 0: - MessageToFE( job.id, "danger", "Found duplicate(s), click  here  to finalise import by removing duplicates" ) + MessageToFE( job.id, "danger", "Found duplicate(s), click  here to finalise import by removing duplicates" ) if __name__ == "__main__": print("INFO: PA job manager starting - listening on {}:{}".format( PA_JOB_MANAGER_HOST, PA_JOB_MANAGER_PORT) )