Fix last commit

This commit is contained in:
Louis Royer 2020-01-21 11:23:55 +01:00
parent de96d7b661
commit a4bb32bf44

View File

@ -19,7 +19,8 @@ public class ClientP2P {
System.out.println("Do you want to open this directory? (y/N)");
Scanner scanner = new Scanner(System.in);
String resp = scanner.nextLine();
if (resp == "y" || resp == "Y") {
if (resp.equals("y") || resp.equals("Y")) {
System.out.println("Openning");
d.openDataHomeDirectory();
}
}