PrintBuddy/pageresolver.py

7 lines
148 B
Python
Raw Normal View History

2021-09-06 12:02:55 +00:00
def resolve(path):
# Returns a resultCode and webpage for this path
page = "<html><body><p>Hello, world!</p></body></html>"
return (200, page)