Skip to content

Commit

Permalink
Fixed UTF-8 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tylous authored Oct 18, 2019
1 parent 10de303 commit 79a9b95
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions vibe.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ def do_net(self, option, intro=None):
display_Members_Of.append(' ')
display_Members_Of.append(' ')
for c1, c2, c3 in zip(display_Members_Of[::3], display_Members_Of[1::3], display_Members_Of[2::3]):
c1 = c1.encode('ascii', 'ignore')
c2 = c2.encode('ascii', 'ignore')
c3 = c3.encode('ascii', 'ignore')
print '{:<30}{:<30}{:<}'.format(c1, c2, c3)
result(tb)
return cmd.Cmd.cmdloop(self, intro)
Expand All @@ -209,6 +212,9 @@ def do_net(self, option, intro=None):
display_Members.append(' ')
display_Members.append(' ')
for c1, c2, c3 in zip(display_Members[::3], display_Members[1::3], display_Members[2::3]):
c1 = c1.encode('ascii', 'ignore')
c2 = c2.encode('ascii', 'ignore')
c3 = c3.encode('ascii', 'ignore')
print '{:<30}{:<30}{:<}'.format(c1, c2, c3)
result(tb)
return cmd.Cmd.cmdloop(self, intro)
Expand All @@ -227,6 +233,9 @@ def do_net(self, option, intro=None):
display_Members_Of.append(' ')
display_Members_Of.append(' ')
for c1, c2, c3 in zip(display_Members_Of[::3], display_Members_Of[1::3], display_Members_Of[2::3]):
c1 = c1.encode('ascii', 'ignore')
c2 = c2.encode('ascii', 'ignore')
c3 = c3.encode('ascii', 'ignore')
print '{:<30}{:<30}{:<}'.format(c1, c2, c3)
result(tb)
return cmd.Cmd.cmdloop(self, intro)
Expand Down

0 comments on commit 79a9b95

Please sign in to comment.