Skip to content

Commit

Permalink
fix: issue with identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Aug 22, 2021
1 parent d8caba0 commit 8ca5003
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/netius/base/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -3395,9 +3395,9 @@ def _generate(self, hashed = True):
if not hashed: return identifier
identifier = legacy.bytes(identifier)
hash = hashlib.sha256(identifier)
indetifier = hash.hexdigest()
identifier = hash.hexdigest()
identifier = identifier.upper()
return indetifier
return identifier

def _connect(self, connection):
# in case the current connection has been closed meanwhile
Expand Down

0 comments on commit 8ca5003

Please sign in to comment.