mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Change order of if statement
Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
This commit is contained in:
parent
df319b8f92
commit
3d37b3a743
1 changed files with 1 additions and 1 deletions
2
build.py
2
build.py
|
@ -73,7 +73,7 @@ def zip_files(py_version: str, source: str, target: str, dev: bool) -> None:
|
|||
for root, dirs, files in os.walk(args.source):
|
||||
for filename in filter(file_filter, files):
|
||||
file_path = os.path.join(root, filename)
|
||||
if folder_filter(file_path) or dev:
|
||||
if dev or folder_filter(file_path):
|
||||
relative_path = os.path.join('plugin.video.jellyfin', os.path.relpath(file_path, source))
|
||||
z.write(file_path, relative_path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue