Maybe it's bad to return
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
05a0e59e26
commit
1b946b4880
@ -147,14 +147,12 @@ public class sigServer {
|
||||
if (!wroteData) {
|
||||
System.out.println("Upload failed!");
|
||||
CreateRequest(client,"400","Bad Request",Paths.get(sigPlace.OUTDIR,"testfile.html"));
|
||||
return;
|
||||
} else {
|
||||
System.out.println("Saving upload to "+myFile);
|
||||
if (filename.contains(".png")) {
|
||||
CreateRequest(client,"200","OK",Paths.get(sigPlace.OUTDIR,"testfile.html"));
|
||||
ArcadeReader.submitToDatabase(Paths.get(sigPlace.ARCADEDIR,filename));
|
||||
System.out.println("Submitted to the database!");
|
||||
return;
|
||||
}
|
||||
}
|
||||
filename=null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user