officehours/main.hy

11 lines
181 B
Hy
Raw Normal View History

#!/usr/local/bin/hy
(import [flask [Flask]])
(def app (Flask __name__))
2016-02-08 23:09:08 +00:00
(with-decorator (.route app "/") (defn hello [] "Hello World"))
(if (= __name__ "__main__")
(.run app))