Skip to content

Commit

Permalink
refactor: replace split line to standard method
Browse files Browse the repository at this point in the history
  • Loading branch information
Abdeali099 committed Apr 30, 2024
1 parent 9915cf8 commit 921957c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/bench.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def initialize_apps(self):
with open(self.bench.apps_txt) as f:
self.apps = [
app.strip()
for app in f.read().split("\n")
for app in f.read().splitlines()
if len(app) > 0 and is_frappe_app(os.path.join(self.bench.name, "apps", app))
]

Expand Down

0 comments on commit 921957c

Please sign in to comment.