Skip to content

Commit fee428e

Browse files
committed
correct use of pathlib
1 parent 0af795e commit fee428e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pcv/examples/something_fishy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ def _draw_net(self, img):
535535
if len(sys.argv) > 1:
536536
name_file = sys.argv[1]
537537
else:
538-
name_file = f'{pathlib.Path(__file__).parent.absolute()}/names.txt'
538+
name_file = pathlib.Path(__file__).parent.absolute() / 'names.txt'
539539

540540

541541
tank = FishTank((720,1280), name_file=name_file)

0 commit comments

Comments
 (0)