Skip to content

Commit

Permalink
Get windows safe uri string (see #266)
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-asprino committed Nov 9, 2023
1 parent b2ff3a1 commit 75f63fd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ public static void main(String[] args) throws Exception {
if(!p.isAbsolute()){
p = base.relativize(loadSource.toPath());
}
kb = DatasetFactory.create(p.toString());
kb = DatasetFactory.create(p.toFile().toURI().toString());
} catch (Exception e) {
logger.error("An error occurred while loading {}", loadSource);
logger.error(" - Problem was: ", e);
Expand Down

0 comments on commit 75f63fd

Please sign in to comment.