mirror of
https://gitea.phreedom.club/localhost_frssoft/funkwlmpv
synced 2024-12-22 18:23:34 +02:00
Also close EOF's
This commit is contained in:
parent
d689a4c34e
commit
3c545cc991
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ Insert token from "Access token" here''')
|
|||
|
||||
current_instance.select_instance(current_instance.instance)
|
||||
if selected == 'Donate':
|
||||
os.system(f'less <<EOF\nSupport instance message:\n{support_message}')
|
||||
os.system(f'less <<EOF\nSupport instance message:\n{support_message}\nEOF')
|
||||
if selected == 'About instance':
|
||||
about_instance_info = []
|
||||
for i in ins_settings:
|
||||
|
@ -143,7 +143,7 @@ Insert token from "Access token" here''')
|
|||
for k, v in ins_nodeinfo['usage'].items():
|
||||
about_instance_info.append(f'{k}: {v}')
|
||||
about_instance_info = '\n'.join(about_instance_info)
|
||||
os.system(f'less <<EOF\n{about_instance_info}')
|
||||
os.system(f'less <<EOF\n{about_instance_info}\nEOF')
|
||||
del about_instance_info
|
||||
if selected == 'Player':
|
||||
src.mpv_control.player_menu(
|
||||
|
|
Loading…
Reference in a new issue