tuvotereminder: Wait for notify processes

Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
Lukas Fleischer 2016-09-29 21:03:54 +02:00
parent c8c3747786
commit e1709e98ce

View file

@ -21,7 +21,7 @@ def main():
[filter_from, filter_to])
for vote_id in [row[0] for row in cur.fetchall()]:
subprocess.Popen((notify_cmd, 'tu-vote-reminder', str(vote_id)))
subprocess.Popen((notify_cmd, 'tu-vote-reminder', str(vote_id))).wait()
if __name__ == '__main__':