1
Fork 0

Better comparison

This commit is contained in:
Jake Howard 2015-12-06 14:23:53 +00:00
parent cf2ff57970
commit d514919b62
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def show(key):
@click.argument('key', nargs=1)
@click.argument('value', nargs=-1)
def set(key, value):
if type(value) == type(()):
if isinstance(value, tuple):
value = " ".join(value)
status = config.set(key, value)
if status == "SUCCESS":