freemt
commited on
Commit
·
676bda1
1
Parent(s):
197f492
Update app
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def process(command):
|
|
19 |
# print("print input:\n\t %s" % command)
|
20 |
# print("print input*:\n\t %s" % "*".join(command.splitlines()))
|
21 |
is_command = True
|
22 |
-
is_command = command.strip().splitlines().__len__() < 2 and len(
|
23 |
|
24 |
if is_command:
|
25 |
proc = sp.Popen(
|
|
|
19 |
# print("print input:\n\t %s" % command)
|
20 |
# print("print input*:\n\t %s" % "*".join(command.splitlines()))
|
21 |
is_command = True
|
22 |
+
is_command = command.strip().splitlines().__len__() < 2 and len(command.strip()) < 100
|
23 |
|
24 |
if is_command:
|
25 |
proc = sp.Popen(
|