2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-03 23:15:33 +00:00
This commit is contained in:
quadrismegistus 2020-09-16 16:23:35 +01:00
parent 32e59b4224
commit 873a0654fa

View File

@ -69,7 +69,7 @@ class CLI(Logger):
def stat(self,*msgs,use_prefix=True,prefix=None,komrade_name=None,pause=False,clear=False,min_prefix_len=19,**kwargs):
if not prefix:
if not komrade_name: komrade_name='Operator'
prefix='Comrade @'+komrade_name+': '
prefix='Komrade @'+komrade_name+': '
blank=' '*(len(prefix) if len(prefix)>min_prefix_len else min_prefix_len)
total_msg=[]
for i,msg in enumerate(msgs):