Skip to content

Commit 6a109ce

Browse files
committed
remove pybase64
1 parent 5047178 commit 6a109ce

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

oclp_r/encry/as1/based.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import pybase64
1+
import
22
import base64
33
from oclp_r.encry.panic.panic import Panic
44

@@ -10,7 +10,7 @@ def encry(self,data):
1010
try:
1111
if not isinstance(data, bytes):
1212
raise Panic("Panic:This type is not bytes.",4,"TypeError").raise_panic()
13-
self.encry = pybase64.b64encode(data)
13+
self.encry = .b64encode(data)
1414

1515
return self.encry
1616
except Exception as e:
@@ -59,7 +59,7 @@ def decry(self,data):
5959
try:
6060
if not isinstance(data, bytes):
6161
raise TypeError("Panic:This type is not bytes.")
62-
self.encry = pybase64.b64decode(data)
62+
self.encry = .b64decode(data)
6363

6464
return self.encry
6565
except Exception as e:

re.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
requests
22
pyobjc
3-
pybase64
43
colorama
54
termcolor
65
wxpython

requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
requests
22
pyobjc
3-
pybase64
43
colorama
54
termcolor
65
wxpython @ https://pypi.tuna.tsinghua.edu.cn/packages/48/20/390530466538829eb8aa75256514d6fd976da2f272a068f4d00f90ab8013/wxPython-4.2.2-cp311-cp311-macosx_10_10_universal2.whl#sha256=0fe3cb940f5da4f0ec61c3cf37e63c0f577f09a7b9a5d3d7cfc59399eb18cb3b

0 commit comments

Comments
 (0)