Update effects
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user