1
0
Fork 0

Change list option to print instead of log

master
colaclanth 2019-07-17 20:28:35 +01:00
parent 77b9821c46
commit 9947f13817
1 changed files with 3 additions and 3 deletions

View File

@ -120,13 +120,13 @@ examples:
def list_supported_modes(self):
modes = ', '.join([fmt.NAME for fmt in VIS_MAP.values()])
log_message("Supported modes: {}".format(modes))
print("Supported modes: {}".format(modes))
def list_supported_audio_formats(self):
audio_formats = ', '.join(available_audio_formats().keys())
log_message("Supported audio formats: {}".format(audio_formats))
print("Supported audio formats: {}".format(audio_formats))
def list_supported_image_formats(self):
Image.init()
image_formats = ', '.join(Image.SAVE.keys())
log_message("Supported image formats: {}".format(image_formats))
print("Supported image formats: {}".format(image_formats))