yarl / pattypan

Upload files to Wikimedia Commons. The Spreadsheet Way.
https://commons.wikimedia.org/wiki/Commons:Pattypan
MIT License
56 stars 37 forks source link

regression: checking SHA1 checksum for remote upload breaks the app #107

Closed yarl closed 2 years ago

yarl commented 4 years ago

When trying to upload files from remote server (not local drive files) checking SHA1 checksum always fails.

https://github.com/yarl/pattypan/blob/70d9faf5ffe62b2a7cbad69a1ffe58771068ca3f/src/pattypan/panes/UploadPane.java#L294

It should be checked in other way if remote upload is a duplicate.