File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ Future<File?> _jsonForFile(File file, {required bool tryhard}) async {
5555 return null ;
5656}
5757
58- // if the original file was uploaded without an extension there will be no
59- // extension in the "title" of the json but the image in the filesystem will
60- // have one that was automatically added, hence we need to ignore it when
61- // searching for the json
58+ // if the originally file was uploaded without an extension,
59+ // (for example, "20030616" (jpg but without ext))
60+ // it's json won't have the extension ("20030616.json"), but the image
61+ // itself (after google proccessed it) - will ("20030616.jpg" tadam)
6262String _noExtension (String filename) =>
6363 p.basenameWithoutExtension (File (filename).path);
6464
You can’t perform that action at this time.
0 commit comments