def server_static(filepath): imgpath = static_file(filepath, root='./%s' % (IMGFOLDER, )) return imgpath