diff --git a/Scan2Seafile/__init__.py b/Scan2Seafile/__init__.py index a62cda2a814acf9ddfc2311c03afd822749bd9c4..715787733f027f510b4fb5634c6edcc60b5055cb 100644 --- a/Scan2Seafile/__init__.py +++ b/Scan2Seafile/__init__.py @@ -93,9 +93,9 @@ class Scans(object): ) if resp.status_code == 200: for u in resp.json()['users']: - if u['email'] == identity: - self.internal = True - break + if u['email'] == identity: + self.internal = True + break if self.internal: # Try to find the shared library