Navigation Menu

Skip to content

Commit

Permalink
fix programab config pathing
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Perry committed Sep 24, 2022
1 parent e499785 commit 96b1bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/myrobotlab/service/ProgramAB.java
Expand Up @@ -1161,7 +1161,7 @@ public ServiceConfig getConfig() {

for (BotInfo bot : bots.values()) {

Path pathAbsolute = Paths.get(bot.path.getPath());
Path pathAbsolute = Paths.get(bot.path.getAbsolutePath());
Path pathBase = Paths.get(System.getProperty("user.dir"));
Path pathRelative = pathBase.relativize(pathAbsolute);
config.bots.add(pathRelative.toString());
Expand Down

0 comments on commit 96b1bfd

Please sign in to comment.