示例#1
0
文件: main.py 项目: yatt/nekofier
 def get(self):
     try:
         url = photolink.get()
         lnk = PhotoLink.all().get()
         lnk.link = url
         lnk.put()
     except Exception, e:
         logging.error(e)
示例#2
0
文件: main.py 项目: yatt/nekofier
 def getphotolink(self):
     for lnk in PhotoLink.all():
         return lnk.link