Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
poezio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
178
Issues
178
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poezio
poezio
Commits
65a37c44
Commit
65a37c44
authored
May 10, 2016
by
mathieui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a crash in the marquee plugin
xml does not like ascii control chars.
parent
216ca997
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
plugins/marquee.py
plugins/marquee.py
+2
-0
No files found.
plugins/marquee.py
View file @
65a37c44
...
...
@@ -36,6 +36,7 @@ Configuration
"""
from
plugin
import
BasePlugin
import
tabs
import
xhtml
from
decorators
import
command_args_parser
def
move
(
text
,
step
,
spacing
):
...
...
@@ -53,6 +54,7 @@ class Plugin(BasePlugin):
@
command_args_parser
.
raw
def
command_marquee
(
self
,
args
):
tab
=
self
.
api
.
current_tab
()
args
=
xhtml
.
clean_text
(
xhtml
.
convert_simple_to_full_colors
(
args
))
tab
.
command_say
(
args
)
is_muctab
=
isinstance
(
tab
,
tabs
.
MucTab
)
msg_id
=
tab
.
last_sent_message
[
"id"
]
...
...
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