summaryrefslogtreecommitdiff
path: root/binarize/sauvola_test.go
diff options
context:
space:
mode:
authorNick White <git@njw.name>2020-12-03 15:13:22 +0000
committerNick White <git@njw.name>2020-12-03 15:16:14 +0000
commit38dbdd0b21fb363e3f63fd3ea50272975e98eb77 (patch)
tree19a3a48f595f62afc69f7a4e8092350a147b3c7b /binarize/sauvola_test.go
parentdf364cbf93e4ab5b4db8b924b8396f4fb9caa149 (diff)
Don't upload binarised pdf twice needlessly
This can also result in the file being uploaded twice simultaneously, as up() is running in a separate goroutine. This can cause failures on Windows as the file is attempted to be removed by one upload process while being open to upload by the other process. Probably it could also fail if the process completed by one (so the file was deleted) before being started by the other.
Diffstat (limited to 'binarize/sauvola_test.go')
0 files changed, 0 insertions, 0 deletions