added .*.sw* to gitignore
deleted swap files
It works! But with weird bugs...

Not only did I have to add each tid in a separate call to
current_user_saved_tracks, I also had to pass each tid as a list with a
single element:

        for tid in tids:
            tid_ls = [tid]
            try:
                sp.current_user_saved_tracks_add(tracks=tid_ls)
            except:
                print "Error for tid: %s" % (tid)
removed API cache