Catch error when setting file date
Catch error when speical charactor crashes email send
Catch error when speical charactor crashes email send
Small comparison correction
Update readme.md
Fixes sickragetv/sickrage-issues#101 - Added code to mainDB to correct malformed episode statues, converted column default_ep_status field type from TEXT to NUMERIC, default to ep status UNKNOWN when loading from DB incase of exception errors.

 Added git branch reset option to general settings github to help fix git update related issues.

 Added github username/password options to general settings github as a requirement for submitting issue tickets from app.

 Fixed issue with default ep status not showing correct value.

 Added ability to submit issue reports via errorlogs menu.

 Added errorlogs view button to error message displayed for webui errors.
ErrorLogs now cleared after submission of issue ticket reports so that the same errors don't keep getting re-submitted with new ones.
Fixed sickragetv/sickrage-issues#119 - IOLoop was being loaded before daemonizer code due to improper placement in WebHandler class, moved to init.
Fixed sickragetv/sickrage-issues#119 - IOLoop was being loaded before daemonizer code due to improper placement in WebHandler class, moved to init.
Merge branch 'release/v4.0.2'
Merge pull request #1140 from luxmoggy/develop

Catches error from set file date and email when they have special charactors in them
Updated piratebay.py with oldpiratebay.org urls

Thanks to 'nizzle' who was so kind to provide these changes on SickRage forums: https://sickrage.tv/forums/forum/main-category/main-forum/15133-piratebay-down-way-to-use-oldpiratebay-org?p=15276#post15276
Fix for duplicate tickets being submitted via app, title variable was being appended to.

Added in code to send the last 50 lines of app's logs to pastebin then give back a url.
Added newline after inserting error message into issue ticket.
Added code to check if title present when error report being submitted to GH is present.
Failing to download results now marked as a WARNING instead of ERROR.
Fix for sickragetv/sickrage-issues#164 - ensures result.hash is never NoneType for when attempting to raise exceptions.
Fixed sickragetv/sickrage-issues#162 - will always return list object even when branches do not exist
Fixed sickragetv/sickrage-issues#170 - checks if key 'language' is present if not discards.
Fix for sickragetv/sickrage-issues#157 - force redirect to home if 404 http error.