Ignored hidden filenames created by macOS.
This commit is contained in:
parent
b29b64e523
commit
99fc1c03b5
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ apps = []
|
|||
files = os.listdir(MACRO_FOLDER)
|
||||
files.sort()
|
||||
for filename in files:
|
||||
if filename.endswith('.py'):
|
||||
if filename.endswith('.py') and not filename.startswith('._'):
|
||||
try:
|
||||
module = __import__(MACRO_FOLDER + '/' + filename[:-3])
|
||||
apps.append(App(module.app))
|
||||
|
|
|
|||
Loading…
Reference in a new issue