Commit 0134d819 authored by Benoit Orihuela's avatar Benoit Orihuela
Browse files

feat: allow for tags referencing a sub-section

parent df5663c6
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -554,7 +554,7 @@ class GenerateRobotData:
        #     pics = f'PICS_{tags[0]}'
        #     pics = f'PICS_{tags[0]}'
        #
        #
        # return reference, pics
        # return reference, pics
        aux = [x for x in tags if match(pattern='^(\d+_\d+_\d+)', string=x)]
        aux = [x for x in tags if match(pattern='^(\d+_\d+_\d+)|^(\d+_\d+)', string=x)]


        if len(aux) == 0:
        if len(aux) == 0:
            raise Exception(
            raise Exception(