Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
plugins
RSS importer
Commits
5e7b2b48
Commit
5e7b2b48
authored
1 year ago
by
Alp Deniz Ogut
Browse files
Options
Download
Email Patches
Plain Diff
Revert "Stricter unwanted line filter on feed & category summaries"
This reverts commit
e88ae4f0
.
parent
77db0f25
Pipeline
#14943
passed with stages
in 1 minute and 46 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
rss_importer/plugin.py
+1
-1
rss_importer/plugin.py
with
1 addition
and
1 deletion
+1
-1
rss_importer/plugin.py
+
1
-
1
View file @
5e7b2b48
...
...
@@ -309,7 +309,7 @@ class RSSImporter(PluginBase):
logger
.
error
(
f
"Error during chat request stream:
{
e
}
"
)
return
None
# strip out the lines without bullet points (*)
summary
=
re
.
sub
(
r
"^[^*
]+"
,
""
,
summary
,
flags
=
re
.
MULTILINE
)
summary
=
re
.
sub
(
r
"^[^*]+"
,
""
,
summary
,
flags
=
re
.
MULTILINE
)
return
summary
def
feed_chat
(
self
,
index_name
,
messages
,
category_text
=
None
):
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets