Exemplo n.º 1
0
 def get(self):
     try:
         url = photolink.get()
         lnk = PhotoLink.all().get()
         lnk.link = url
         lnk.put()
     except Exception, e:
         logging.error(e)
Exemplo n.º 2
0
 def getphotolink(self):
     for lnk in PhotoLink.all():
         return lnk.link