mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-05-26 07:08:08 +00:00
Minor fix and fav
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
__version__ = '1.1.5'
|
||||
__version__ = '1.1.6'
|
||||
|
||||
|
||||
import os
|
||||
|
||||
@@ -230,7 +230,7 @@ class TermWebSocket(Route, tornado.websocket.WebSocketHandler):
|
||||
self.close()
|
||||
|
||||
def on_close(self):
|
||||
if self.pid == 0:
|
||||
if getattr(self, 'pid', 0) == 0:
|
||||
self.log.warning('pid is 0')
|
||||
return
|
||||
try:
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user