0
0
Fork 0
mirror of https://github.com/paradoxxxzero/butterfly.git synced 2025-03-14 20:52:48 +00:00
This commit is contained in:
Florian Mounier 2018-06-04 10:59:36 +02:00
parent 0ac8437387
commit fbd71d55ef
7 changed files with 9 additions and 5 deletions

1
.gitignore vendored
View file

@ -10,3 +10,4 @@ sass/scss
build/
.cache/
.env*
.pytest_cache

2
.isort.cfg Normal file
View file

@ -0,0 +1,2 @@
[settings]
multi_line_output=4

View file

@ -1,8 +1,8 @@
import sys
import termios
import tty
from contextlib import contextmanager
import termios
from butterfly.utils import ansi_colors as colors # noqa: F401
@ -61,7 +61,7 @@ def geolocation():
rv = sys.stdin.read(1)
if rv != 'R':
loc += rv
except:
except Exception:
return
finally:
termios.tcsetattr(fd, termios.TCSADRAIN, old_settings)

View file

@ -30,6 +30,7 @@ import tornado.options
import tornado.process
import tornado.web
import tornado.websocket
from butterfly import Route, url, utils
from butterfly.terminal import Terminal

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -24,6 +24,7 @@ import signal
import string
import struct
import sys
import termios
from logging import getLogger
import tornado.ioloop
@ -32,7 +33,6 @@ import tornado.process
import tornado.web
import tornado.websocket
import termios
from butterfly import __version__, utils
log = getLogger('butterfly')