Fix for "'tuple' object is not callable" when using --digest flag

I was having issues when using the --digest flag, using this code fixed it.
Merge pull request #1 from justintime/patch-1

Fix for "'tuple' object is not callable" when using --digest flag