now allowing robot name input to be comma-separated (was just space-separated before)

This commit is contained in:
Richard Harrington 2013-08-24 08:48:30 -04:00
parent d03d64bd6a
commit feabfe3145

View File

@ -13,7 +13,7 @@
"takes a string parameter from the browser and returns a seqence
of program keys"
[programs-str]
(map keyword (split programs-str #"\s+")))
(map keyword (split programs-str #"[,\s]\s*")))
(defn get-programs
"gets a sequence of programs from the source-code