Fix typos
This commit is contained in:
parent
4fbfb5838a
commit
50937990e5
2 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ class FileRequest(object):
|
|||
# Don't allow other sites than locked
|
||||
if "site" in params and self.connection.site_lock and self.connection.site_lock not in (params["site"], "global"):
|
||||
self.response({"error": "Invalid site"})
|
||||
self.log.error("Site lock violation: %s != %s" % (self.connection.site_lock != params["site"]))
|
||||
self.log.error("Site lock violation: %s != %s" % (self.connection.site_lock, params["site"]))
|
||||
self.connection.badAction(5)
|
||||
return False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue