Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
Slluxx committed Feb 3, 2021
2 parents f6f6066 + bdc1603 commit 4c4f80e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"buildVersion": "2.0.1",
"buildVersion": "2.0.2",
"buildPackages": ["normal", "minimal"]
}
7 changes: 6 additions & 1 deletion modules/basemodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ def removeFile(self, filepath):
os.remove(filepath)

def findAndRemove(self, filename):
if self.__module__ != "modules.atmosphere" or self.__module__ != "modules.ovlloader":
if self.__module__ == "modules.atmosphere":
pass
elif self.__module__ == "modules.ovlloader":
pass
else:
search = Path.joinpath(self.workspaceFullPath, "**", filename)
fileList = glob.glob(str(search), recursive=True)
for filePath in fileList:
Expand All @@ -96,6 +100,7 @@ def findAndRemove(self, filename):
except:
pass


def copyFolderContentToPackage(self, source_dir, target_dir=""):
if source_dir is None:
return None
Expand Down

0 comments on commit 4c4f80e

Please sign in to comment.