From 5293acadd49dc7732c3203e8af8cea02fa553500 Mon Sep 17 00:00:00 2001 From: deadc0de6 Date: Tue, 17 Jul 2018 21:35:00 +0200 Subject: [PATCH] fix import of dotdrop --- scripts/short-to-long-key.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/short-to-long-key.py b/scripts/short-to-long-key.py index cab05a3..45dbde0 100755 --- a/scripts/short-to-long-key.py +++ b/scripts/short-to-long-key.py @@ -10,16 +10,15 @@ format For example ~/.config/awesome/rc.lua short format: f_rc.lua long format: f_config_awesome_rc.lua + +You need to have dotdrop installed for this script +to work (either with setup.py or pypi). """ from docopt import docopt import sys import os -sys.path.insert(0, '../dotdrop') -try: - from dotdrop.config import Cfg -except Exception as e: - raise +from dotdrop.config import Cfg USAGE = """