mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-10 11:34:17 +00:00
fix import of dotdrop
This commit is contained in:
@@ -10,16 +10,15 @@ format
|
|||||||
For example ~/.config/awesome/rc.lua
|
For example ~/.config/awesome/rc.lua
|
||||||
short format: f_rc.lua
|
short format: f_rc.lua
|
||||||
long format: f_config_awesome_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
|
from docopt import docopt
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
sys.path.insert(0, '../dotdrop')
|
from dotdrop.config import Cfg
|
||||||
try:
|
|
||||||
from dotdrop.config import Cfg
|
|
||||||
except Exception as e:
|
|
||||||
raise
|
|
||||||
|
|
||||||
|
|
||||||
USAGE = """
|
USAGE = """
|
||||||
|
|||||||
Reference in New Issue
Block a user