Update effects

This commit is contained in:
blitzmann
2017-11-22 23:04:32 -05:00
parent 7058018aed
commit f0baba10df
71 changed files with 155 additions and 56 deletions

View File

@@ -405,10 +405,11 @@ if options.effects:
else:
effect_list = []
for effect_file in os.listdir(effects_path):
file_name, file_extension = effect_file.rsplit('.', 1)
# Ignore non-py files and exclude implementation-specific 'effects'
if file_extension == "py" and not file_name in ("__init__"):
effect_list.append(file_name)
if not effect_file.startswith('__'):
file_name, file_extension = effect_file.rsplit('.', 1)
# Ignore non-py files and exclude implementation-specific 'effects'
if file_extension == "py" and not file_name in ("__init__"):
effect_list.append(file_name)
# Stage 2