+ fix output view

This commit is contained in:
oleting
2021-01-04 20:08:54 +01:00
parent fbec8d2f18
commit 6dc2723e45
2 changed files with 14 additions and 6 deletions

View File

@@ -30,9 +30,12 @@ def nassi(input_path: str, output_path: str, outputname: str, types, remove_tags
def output(output_path):
def output(output_path, output_name=None):
if output_path == '':
raise NoPathError
if output_name:
output_path = output_path + '/' + output_name
try:
file_list = os.listdir(output_path)
except: