Skip to content

Commit

Permalink
fixed SyntaxError (7:28)
Browse files Browse the repository at this point in the history
  • Loading branch information
Equat-ion authored Jan 19, 2025
1 parent 12733f9 commit 3b17890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/encryption.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Encryption:

def __init__(self,key=None):
if key:
self.cipher() = Fernet(key)
self.cipher = Fernet(key)
else:
raise ValueError("A Valid key must be provided")

Expand Down

0 comments on commit 3b17890

Please sign in to comment.