Commit f93fcd5c authored by Mike Sheldon's avatar Mike Sheldon

Make streamable artist updates as they happen, rather than commiting at the end of all artists

parent 60800769
......@@ -19,9 +19,7 @@ class SetArtistStreamable:
name = artist[0]
print "marking %s as streamable... " % name
self.cursor.execute("UPDATE artist SET streamable = 1 WHERE name = %s", (name,))
print "Applying changes... ",
self.conn.commit()
print "done."
self.conn.commit()
if __name__ == '__main__':
sas = SetArtistStreamable()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment