update labels script for build folders

This commit is contained in:
Maximilian Keßler 2022-04-26 09:02:36 +02:00
parent fa6bec2835
commit 6d7e96f43b

View File

@ -46,7 +46,7 @@ def main(args):
arglist = [] arglist = []
if len(args) > 1: if len(args) > 1:
path = Path(args[1]) path = Path(args[1])
arglist = list(path.glob('*.aux')) arglist = list(path.glob('*.aux')) + list(path.glob('build/*.aux'))
else: else:
arglist = ['/home/maximilian/current_course/full.aux'] arglist = ['/home/maximilian/current_course/full.aux']
@ -61,6 +61,7 @@ def main(args):
else: else:
command = selected command = selected
return command.strip() return command.strip()
if __name__ == '__main__': if __name__ == '__main__':