Skip to content

Commit ac5d580

Browse files
committed
fix invaild syntax
1 parent 1ecc312 commit ac5d580

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oclp_r/encry/as1/based.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def decry(self,data):
5858
try:
5959
if not isinstance(data, bytes):
6060
raise TypeError("Panic:This type is not bytes.")
61-
self.encry = .b64decode(data)
61+
self.encry = base64.b64decode(data)
6262

6363
return self.encry
6464
except Exception as e:

0 commit comments

Comments
 (0)