fix delete photo command trying to print non-existant filename

This commit is contained in:
Jay Lee
2014-07-08 08:05:54 -04:00
parent fc06cc89c5
commit 303eb1b240

2
gam.py
View File

@@ -1552,7 +1552,7 @@ def deletePhoto(users):
user = user[4:]
elif user.find('@') == -1:
user = u'%s@%s' % (user, domain)
print u"Deleting photo for %s to %s (%s of %s)" % (user, filename, i, count)
print u"Deleting photo for %s (%s of %s)" % (user, i, count)
callGAPI(service=cd.users().photos(), function='delete', userKey=user)
i += 1