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

+1
View File
@@ -6,6 +6,7 @@ __copyright__ = "Copyright (C) 2015 The OctoPrint Project - Released under terms
import click
click.disable_unicode_literals_warning = True
import logging
from octoprint.cli import pass_octoprint_ctx, OctoPrintContext, get_ctx_obj_option