Skip to content

Commit e67dfdf

Browse files
author
bajins
committed
去除冗余库
1 parent d7ef385 commit e67dfdf

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

pyutils/Mail.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
import json
1111
import math
1212
import time
13-
14-
import numpy
13+
import random
1514

1615
import Constants
1716
import HttpUtil, StringUtil
@@ -71,7 +70,7 @@ def lin_shi_you_xiang_suffix():
7170
"@bestsoundeffects.com",
7271
"@vradportal.com",
7372
"@a4papersize.net"]
74-
a = numpy.random.randint(low=1, high=11, size=1, dtype='l')
73+
a = random.randint(1, 11)
7574
return suffix_array[a[0]]
7675

7776

pyutils/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ beautifulsoup4==4.8.0
22
certifi==2019.9.11
33
chardet==3.0.4
44
idna==2.8
5-
numpy==1.17.2
65
Pillow==6.1.0
76
requests==2.22.0
87
selenium==3.141.0

0 commit comments

Comments
 (0)