mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-25 19:14:39 +02:00
changed cron/blackcheck.py to submodule
This commit is contained in:
parent
50c687af66
commit
5c9c631024
4 changed files with 6 additions and 42 deletions
|
@ -7,7 +7,7 @@ basename=$(dirname $(readlink -f $0))
|
|||
|
||||
mkdir -p $path
|
||||
streamer -q -f jpeg -s $size -o $path/$now.jpeg -r 1
|
||||
grey="$(python3 $basename/blackcheck.py -i $path/$now.jpeg -d 10)"
|
||||
grey="$($basename/blackcheck/blackcheck.py -i $path/$now.jpeg -d 10)"
|
||||
if [ "$grey" = "True" ] ; then
|
||||
mv $path/$now.jpeg $path/black/$now.jpeg
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue