forked from openlp/openlp
Remove unneeded print statement
This commit is contained in:
parent
292606ba38
commit
28e14012a8
@ -224,7 +224,7 @@ class OpenLP(OpenLPMixin, QtWidgets.QApplication):
|
||||
return
|
||||
message = translate('OpenLP',
|
||||
'A backup of the data folder has been created'
|
||||
'at {text}').format(text=data_folder_backup_path)
|
||||
'at {text}'.format(text=data_folder_backup_path))
|
||||
QtWidgets.QMessageBox.information(None, translate('OpenLP', 'Backup'), message)
|
||||
|
||||
# Update the version in the settings
|
||||
|
@ -336,7 +336,7 @@ def delete_file(file_path_name):
|
||||
os.remove(file_path_name)
|
||||
return True
|
||||
except (IOError, OSError):
|
||||
log.exception("Unable to delete file {name}".format(name=file_path_name))
|
||||
log.exception("Unable to delete file {text}".format(text=file_path_name))
|
||||
return False
|
||||
|
||||
|
||||
@ -404,5 +404,5 @@ def check_binary_exists(program_path):
|
||||
except Exception:
|
||||
trace_error_handler(log)
|
||||
runlog = ''
|
||||
log.debug('check_output returned: {text}'.format(text=runlog))
|
||||
log.debug('check_output returned: {text}'.format(text=runlog)
|
||||
return runlog
|
||||
|
@ -160,8 +160,6 @@ def process_check_binary(program_path):
|
||||
"""
|
||||
program_type = None
|
||||
runlog = check_binary_exists(program_path)
|
||||
# NOTE: Unneeded print statement - let originator clear it out if needed
|
||||
# print(runlog, type(runlog))
|
||||
# Analyse the output to see it the program is mediainfo
|
||||
for line in runlog.splitlines():
|
||||
decoded_line = line.decode()
|
||||
|
Loading…
Reference in New Issue
Block a user