summaryrefslogtreecommitdiffstats
path: root/module/plugins/UploadedTo.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/UploadedTo.py')
-rw-r--r--module/plugins/UploadedTo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/UploadedTo.py b/module/plugins/UploadedTo.py
index bda0bf899..e00d72f51 100644
--- a/module/plugins/UploadedTo.py
+++ b/module/plugins/UploadedTo.py
@@ -145,7 +145,7 @@ class UploadedTo(Plugin):
def check_file(self, local_file):
if self.api_data and self.api_data["checksum"]:
h = hashlib.sha1()
- f = open(local_file, "rb"):
+ f = open(local_file, "rb")
h.update(f.read())
f.close()
hexd = h.hexdigest()