As preparation to use hashlib's constructors, fix passing correct datatype to sha1 constructor in web ui.
Fixes: https://pagure.io/koji/issue/1486
pretty please pagure-ci rebuild
rebased onto 485466d64902166ce64179995d98654834cac446
:thumbsup:
Metadata Update from @tkopecek: - Pull-request tagged with: testing-ready
Commit bc16f4e5 fixes this pull-request
Pull-Request has been merged by mikem
As preparation to use hashlib's constructors, fix passing correct
datatype to sha1 constructor in web ui.
Fixes: https://pagure.io/koji/issue/1486