mirror of
https://gitlab.com/openlp/documentation.git
synced 2024-12-22 12:32:48 +00:00
Ignore the media vendor directory
This commit is contained in:
parent
8ed4e714be
commit
90260e67e2
@ -99,7 +99,7 @@ def main():
|
|||||||
pkg = pkgutil.walk_packages([path_to_code], onerror=print)
|
pkg = pkgutil.walk_packages([path_to_code], onerror=print)
|
||||||
|
|
||||||
for importer, module, package in pkg:
|
for importer, module, package in pkg:
|
||||||
if module.startswith('openlp'):
|
if module.startswith('openlp') and not module.endswith(('vendor', 'vlc')):
|
||||||
path = os.path.join(root_path, module.replace('.', os.path.sep))
|
path = os.path.join(root_path, module.replace('.', os.path.sep))
|
||||||
if package:
|
if package:
|
||||||
if not os.path.exists(path):
|
if not os.path.exists(path):
|
||||||
|
Loading…
Reference in New Issue
Block a user