From 3d37b3a7437dae77d9ad5e89b799cf3177a8e168 Mon Sep 17 00:00:00 2001
From: mcarlton00 <mcarlton00@gmail.com>
Date: Sun, 4 Jul 2021 21:02:46 -0400
Subject: [PATCH] Change order of if statement
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Co-authored-by: Odd Stråbø <oddstr13@openshell.no>
---
 build.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.py b/build.py
index 1b4082da..7d73f092 100755
--- a/build.py
+++ b/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)