示例#1
0
文件: ages.py 项目: H-uru/agedb
 def GET(self, ageid, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     try:
         intid = int(ageid)
         intid = ageid
     except:
         intid = agedb.ageFromName(ageid)
     return agedb.listFiles(gamever=version, age=intid)
示例#2
0
 def GET(self, ageid, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     try:
         intid = int(ageid)
         intid = ageid
     except:
         intid = agedb.ageFromName(ageid)
     return agedb.listFiles(gamever=version, age=intid)
示例#3
0
 def GET(self, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     return agedb.listFiles(gamever=version)
示例#4
0
 def GET(self):
     return agedb.listFiles()
示例#5
0
文件: files.py 项目: H-uru/agedb
 def GET(self, version):
     if not version in config.acceptable_game_versions:
         raise web.notfound()
     return agedb.listFiles(gamever=version)
示例#6
0
文件: files.py 项目: H-uru/agedb
 def GET(self):
     return agedb.listFiles()
示例#7
0
文件: ages.py 项目: H-uru/agedb
 def GET(self, ageid):
     return agedb.listFiles(age=ageid)
示例#8
0
 def GET(self, ageid):
     return agedb.listFiles(age=ageid)