Skip to content

Commit

Permalink
PyLint
Browse files Browse the repository at this point in the history
  • Loading branch information
drew2a committed Oct 13, 2021
1 parent 7cd8dcf commit 09b0b88
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ def tag_torrent(infohash, tags_db, tags=None):
for tag in tags:
cur_time = int(time.time())
for key in [random_key_1, random_key_2]: # Each tag should be proposed by two unique users
message = TagOperationMessage(infohash=infohash, tag=tag, operation=TagOperation.ADD, time=cur_time,creator_public_key=key.pub().key_to_bin())
message = TagOperationMessage(infohash=infohash, tag=tag, operation=TagOperation.ADD, time=cur_time,
creator_public_key=key.pub().key_to_bin())
tags_db.add_tag_operation(message, b"")


Expand Down

0 comments on commit 09b0b88

Please sign in to comment.