mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-27 21:40:51 +00:00
Fix python3 problem with confetty
Under python3, there is no unicode.
This commit is contained in:
@@ -76,6 +76,11 @@ import confluent.termhandler as termhandler
|
||||
import confluent.tlvdata as tlvdata
|
||||
import confluent.client as client
|
||||
|
||||
try:
|
||||
unicode
|
||||
except NameError:
|
||||
unicode = str
|
||||
|
||||
conserversequence = '\x05c' # ctrl-e, c
|
||||
clearpowermessage = False
|
||||
|
||||
|
Reference in New Issue
Block a user