Skip to content

Commit 997230e

Browse files
author
Angelogeb
committed
Fixed extension in f_to_string
1 parent ad28a94 commit 997230e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

create_csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def f_to_string(fname):
5959
class_name = Path(fname).name
6060
class_name = class_name[:class_name.rfind('_')]
6161
return ','.join([
62-
fname,
62+
str(Path(fname).with_suffix('.jpg')),
6363
str(x1),
6464
str(y1),
6565
str(x2),

0 commit comments

Comments
 (0)