mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
[cron] removed old blackcheck
This commit is contained in:
parent
6acc7d0f37
commit
56bac44c6b
3 changed files with 1 additions and 7 deletions
|
@ -1 +0,0 @@
|
||||||
Subproject commit fb5af1f8bb72c987c49c77ea8ed558196765f011
|
|
|
@ -1 +0,0 @@
|
||||||
/home/felix/code/python/blackcheck/blackcheck.py
|
|
|
@ -7,8 +7,4 @@ basename=$(dirname $(readlink -f $0))
|
||||||
|
|
||||||
mkdir -p $path
|
mkdir -p $path
|
||||||
streamer -q -f jpeg -s $size -o $path/$now.jpeg -r 1
|
streamer -q -f jpeg -s $size -o $path/$now.jpeg -r 1
|
||||||
grey="$($basename/blackcheck/blackcheck.py -i $path/$now.jpeg -d 10)"
|
exit $?
|
||||||
if [ "$grey" = "True" ] ; then
|
|
||||||
mv $path/$now.jpeg $path/black/$now.jpeg
|
|
||||||
fi
|
|
||||||
exit 0
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue