Move the config utils into its own package

This commit is contained in:
Kovid Goyal
2018-06-03 11:54:26 +05:30
parent 088766da72
commit 7cf6b8b594
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ def base64_encode(
def command_for_open(program='default'):
if isinstance(program, str):
from .config_utils import to_cmdline
from .conf.utils import to_cmdline
program = to_cmdline(program)
if program == ['default']:
cmd = ['open'] if is_macos else ['xdg-open']