click.disable_unicode_literals_warning = True

when importing from future unicode literals those warning will need to be disabled
This commit is contained in:
MirceaDan committed 2018-12-02 15:44:20 -08:00
1 parent f72f948744
commit 41e74df8d3
8 files changed
+8

No files matched your search

@@ -7,6 +7,7 @@ __copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms
def commands(cli_group, pass_octoprint_ctx, *args, **kwargs):
import click
click.disable_unicode_literals_warning = True
import sys
import requests.exceptions
from octoprint.cli.client import create_client, client_options