mirror of
https://github.com/simon987/task_tracker_drone.git
synced 2025-04-10 14:06:46 +00:00
Fixes
This commit is contained in:
parent
2e3758be6d
commit
aa15a1b29e
@ -2,6 +2,8 @@
|
||||
|
||||
export DRONEROOT="task_tracker_drone"
|
||||
|
||||
screen -S tt_drone -X quit
|
||||
|
||||
cd ${DRONEROOT}
|
||||
virtualenv env --download --clear -p python3.7
|
||||
source env/bin/activate
|
||||
@ -9,7 +11,6 @@ python --version
|
||||
pip install -r requirements.txt
|
||||
deactivate
|
||||
|
||||
screen -S tt_drone -X quit
|
||||
echo "starting drone"
|
||||
screen -S tt_drone -d -m bash -c "source env/bin/activate && python src/drone.py"
|
||||
sleep 1
|
||||
|
@ -1,2 +1,3 @@
|
||||
requests
|
||||
bs4
|
||||
bs4
|
||||
Pillow
|
@ -64,7 +64,7 @@ class WorkerContext:
|
||||
json_result["result"],
|
||||
json_result[
|
||||
"verification"] if "verification" in json_result else 0).text
|
||||
+ " in " + str(end_time - start_time) + "ms")
|
||||
+ " in " + str(end_time - start_time) + "s")
|
||||
except Exception as e:
|
||||
print(str(e) + traceback.format_exc())
|
||||
else:
|
||||
|
Loading…
x
Reference in New Issue
Block a user