Commit b268a4c1 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis

Add ./lib in python path

parent a050f9cf
=== modified file 'bin/duplicity'
--- bin/duplicity 2015-10-31 14:52:22 +0000
+++ bin/duplicity 2015-11-05 15:30:01 +0000
@@ -30,6 +30,11 @@
import gzip
import os
import sys
+
+CURPATH = os.path.dirname(os.path.realpath(__file__))
+LIBPATH = os.path.join(CURPATH, "lib")
+sys.path.insert(0, LIBPATH)
+
import time
import types
import traceback
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment