Update views.py

https://bugs.freenas.org/issues/4439
Updated the file based on bugreport
https://bugs.freenas.org/attachments/567/pbi.bacula-sd.views.py.patch
Merge pull request #17 from gavit/master

Update views.py