Minor fix and fav

This commit is contained in:
Florian Mounier
2014-02-27 14:58:09 +01:00
parent a5f68cc970
commit 3d6677643d
4 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -28,6 +28,7 @@ options = dict(
package_data={
'butterfly': [
'static/fonts/*',
'static/images/favicon.png',
'static/stylesheets/main.css',
'static/javascripts/main.js',
'templates/index.html'