Compare commits

..

No commits in common. "3c545cc9917d880dca8df10ad8b1b6fe67d7dd67" and "96ce0dfb500f7daabe927b7ffaadf12a4bfc4324" have entirely different histories.

2 changed files with 3 additions and 3 deletions

View File

@ -128,7 +128,7 @@ Insert token from "Access token" here''')
current_instance.select_instance(current_instance.instance) current_instance.select_instance(current_instance.instance)
if selected == 'Donate': if selected == 'Donate':
os.system(f'less <<EOF\nSupport instance message:\n{support_message}\nEOF') os.system(f'less <<EOF\nSupport instance message:\n{support_message}')
if selected == 'About instance': if selected == 'About instance':
about_instance_info = [] about_instance_info = []
for i in ins_settings: for i in ins_settings:
@ -143,7 +143,7 @@ Insert token from "Access token" here''')
for k, v in ins_nodeinfo['usage'].items(): for k, v in ins_nodeinfo['usage'].items():
about_instance_info.append(f'{k}: {v}') about_instance_info.append(f'{k}: {v}')
about_instance_info = '\n'.join(about_instance_info) about_instance_info = '\n'.join(about_instance_info)
os.system(f'less <<EOF\n{about_instance_info}\nEOF') os.system(f'less <<EOF\n{about_instance_info}')
del about_instance_info del about_instance_info
if selected == 'Player': if selected == 'Player':
src.mpv_control.player_menu( src.mpv_control.player_menu(

View File

@ -69,4 +69,4 @@ def track_info_output(track):
else: else:
output.append(f'{k}: {v}') output.append(f'{k}: {v}')
output = '\n'.join(output) output = '\n'.join(output)
os.system(f'less <<EOF\n{output}\nEOF') os.system(f'less <<EOF\n{output}')