Skip to content

Commit

Permalink
Respond to code review and update reactor-c
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardalee authored and lhstrh committed Jul 4, 2024
1 parent fb1e305 commit 235cc97
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/Python/src/PythonPaths.lf
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ main reactor {
state package_path = {= os.path.join(lf.package_directory(), "src", "PythonPaths.lf") =}

reaction(startup) {=
file = open(self.source_path, "r");
print(file.read());
file.close();
with open(self.source_path, "r") as file:
print(file.read());
print("----------------");
file = open(self.package_path, "r");
print(file.read());
file.close();
with open(self.package_path, "r") as file:
print(file.read());
=}
}

0 comments on commit 235cc97

Please sign in to comment.