1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-05 09:43:49 +00:00

correctly split action arguments

This commit is contained in:
deadc0de6
2018-09-24 20:23:48 +02:00
parent 622fe71f06
commit f5c9d494e7

View File

@@ -7,6 +7,7 @@ yaml config file manager
import yaml
import os
import shlex
# local import
from dotdrop.dotfile import Dotfile
@@ -259,7 +260,7 @@ class Cfg:
self.key_actions_post: [],
}
for line in entries:
fields = line.split(' ')
fields = shlex.split(line)
entry = fields[0]
args = []
if len(fields) > 1: