Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lichenggang
/
bom_identify
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
86b97c91
authored
Aug 04, 2022
by
陈森彬
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加品牌
parent
ce7b54c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
brand_redis.py
brand_redis.py
View file @
86b97c91
...
@@ -35,7 +35,7 @@ redis_pool = get_redis_conn()
...
@@ -35,7 +35,7 @@ redis_pool = get_redis_conn()
def
main
():
def
main
():
brand_list
=
[
"
ROHM(罗姆
)"
]
brand_list
=
[
"
AMAZING(晶焱)"
,
"EUTECH(台湾德信
)"
]
for
brand_name
in
brand_list
:
for
brand_name
in
brand_list
:
res
=
redis_pool
.
sadd
(
"brand_set"
,
brand_name
)
res
=
redis_pool
.
sadd
(
"brand_set"
,
brand_name
)
if
res
:
if
res
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment