Skip to content

Commit

Permalink
Rally fix #81
Browse files Browse the repository at this point in the history
  • Loading branch information
developersu committed Nov 6, 2020
1 parent 5e5a774 commit 953dcb5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/nsusbloader/FilesHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ public static String getRealFolder(String location){
Path locationAsPath = Paths.get(location);
if (Files.notExists(locationAsPath) || Files.isRegularFile(locationAsPath))
return System.getProperty("user.home");
return location;
}
catch (Exception ignored){
return System.getProperty("user.home");
}
catch (Exception ignored){}
return location;
}
}

0 comments on commit 953dcb5

Please sign in to comment.