Skip to content

Commit f59a97f

Browse files
committed
#1390: Import get two char dir from tools instead of defining.
1 parent cae023a commit f59a97f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

signbank/dataset_checks.py

+1-9
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,7 @@
22

33
from signbank.dictionary.models import *
44
from signbank.video.models import GlossVideo, GlossVideoNME, GlossVideoPerspective
5-
6-
7-
def get_two_letter_dir(idgloss):
8-
foldername = idgloss[:2]
9-
10-
if len(foldername) == 1:
11-
foldername += '-'
12-
13-
return foldername
5+
from signbank.tools import get_two_letter_dir
146

157

168
def gloss_annotations_check(dataset):

0 commit comments

Comments
 (0)