mirror of
https://github.com/bkerler/edl.git
synced 2024-11-14 19:14:58 -05:00
Less verbose after first run()
This commit is contained in:
parent
2ed24c090f
commit
9d0d43bbdf
2 changed files with 6 additions and 0 deletions
3
edl
3
edl
|
@ -343,6 +343,9 @@ class main(metaclass=LogBase):
|
||||||
print("Error on sahara handshake, resetting.")
|
print("Error on sahara handshake, resetting.")
|
||||||
self.sahara.cmd_reset()
|
self.sahara.cmd_reset()
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
else:
|
||||||
|
if self.__logger.level != logging.DEBUG:
|
||||||
|
self.__logger.setLevel(logging.ERROR)
|
||||||
if mode == "error":
|
if mode == "error":
|
||||||
print("Connection detected, quiting.")
|
print("Connection detected, quiting.")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
3
test_script.sh
Executable file
3
test_script.sh
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
./edl w xbl_a /home/bongb/agnos/xbl.img
|
||||||
|
./edl w xbl_a /home/bongb/agnos/xbl.img
|
||||||
|
./edl reset
|
Loading…
Reference in a new issue