Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Webterminal
Commits
ed1688ff
Commit
ed1688ff
authored
6 years ago
by
Jimmy
Browse files
Options
Download
Email Patches
Plain Diff
fix interactive bug
parent
20890821
0.9
0.8
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webterminal/interactive.py
+2
-0
webterminal/interactive.py
with
2 additions
and
0 deletions
+2
-0
webterminal/interactive.py
+
2
-
0
View file @
ed1688ff
...
...
@@ -133,6 +133,8 @@ def posix_shell(chan, channel, log_name=None, width=90, height=40, elementid=Non
'text'
:
json
.
dumps
([
'stdout'
,
smart_unicode
(
x
)])})
except
socket
.
timeout
:
pass
except
UnicodeDecodeError
:
channel_layer
.
send
(
channel
,
{
'bytes'
:
data
})
except
Exception
,
e
:
print
(
type
(
data
))
print
(
repr
(
data
))
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help