add code to set patch from pull request https://github.com/opentechinstitute/luci-commotion/pull/198
Merge pull request #199 from opentechinstitute/Tryingbug_179_set_patch

add code to set patch