summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/FreeWayMe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/FreeWayMe.py')
-rw-r--r--module/plugins/hoster/FreeWayMe.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/FreeWayMe.py b/module/plugins/hoster/FreeWayMe.py
index 1cdf00842..edf0a6c0c 100644
--- a/module/plugins/hoster/FreeWayMe.py
+++ b/module/plugins/hoster/FreeWayMe.py
@@ -43,7 +43,7 @@ class FreeWayMe(MultiHoster):
if 'location' in header:
headers = self.load(header.get('location'), just_header=True)
- if headers['code'] is 500:
+ if headers['code'] == 500:
#: Error on 2nd stage
self.log_error(_("Error [stage2]"))
else: