Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
saturn
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpha
saturn
Commits
3bffffdb
Commit
3bffffdb
authored
Aug 23, 2019
by
钟尚武
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/weibo' into 'master'
fix See merge request
!106
parents
41d4fa24
2dc8dfc2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
weibo_commands.py
api/management/commands/weibo_commands.py
+1
-1
No files found.
api/management/commands/weibo_commands.py
View file @
3bffffdb
...
...
@@ -139,7 +139,7 @@ class Command(BaseCommand):
for
info
in
reply
:
for
image
in
info
[
"images"
]:
counter
[
image
]
+=
1
comment
[
"images"
]
=
[
url
for
url
,
count
in
counter
if
count
>
1
]
comment
[
"images"
]
=
[
url
for
url
,
count
in
counter
.
items
()
if
count
>
1
]
for
info
in
reply
:
if
self
.
filter_second_comment
(
info
[
"content"
],
comment
[
"images"
],
info
[
"images"
]):
...
...
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