Skip to content

Commit

Permalink
Fix site lock violation logging
Browse files Browse the repository at this point in the history
  • Loading branch information
shortcutme committed Jun 13, 2017
1 parent 7a996b3 commit a4a23f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/File/FileRequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def route(self, cmd, req_id, params):
if params["site"] not in valid_sites:
self.response({"error": "Invalid site"})
self.connection.log(
"%s site lock violation: %s not in %s, target onion: %s" %
"Site lock violation: %s not in %s, target onion: %s" %
(params["site"], valid_sites, self.connection.target_onion)
)
self.connection.badAction(5)
Expand Down

0 comments on commit a4a23f3

Please sign in to comment.