RED-4653: Corrected if-operator
This commit is contained in:
parent
8867da3557
commit
7e2cb20040
@ -61,7 +61,7 @@ class QueueManager(object):
|
|||||||
token_file_path = token_file_name()
|
token_file_path = token_file_name()
|
||||||
|
|
||||||
with token_file_path.open(mode="w", encoding="utf8") as token_file:
|
with token_file_path.open(mode="w", encoding="utf8") as token_file:
|
||||||
text = token_value is not None if token_value else ""
|
text = token_value if token_value is not None else ""
|
||||||
token_file.write(text)
|
token_file.write(text)
|
||||||
|
|
||||||
def _open_channel(self):
|
def _open_channel(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user