Skip to content

Commit

Permalink
pesky open file handle when loading bot info...
Browse files Browse the repository at this point in the history
  • Loading branch information
kwatters committed Dec 11, 2023
1 parent fef8292 commit dab7a04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/myrobotlab/programab/BotInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ public BotInfo(ProgramAB programab, File path) {
try {
FileInputStream fis = new FileInputStream(FileIO.gluePaths(path.getAbsolutePath(), "manifest.txt"));
properties.load(new InputStreamReader(fis, Charset.forName("UTF-8")));
fis.close();
log.info("loaded properties");
} catch (FileNotFoundException e) {
programab.warn("bot %s does not have a manifest.txt", name);
Expand Down

0 comments on commit dab7a04

Please sign in to comment.