From: Radek Czajka Date: Thu, 20 Feb 2014 14:24:14 +0000 (+0100) Subject: fix in book2partner X-Git-Tag: 1.7~106 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/6351b433475b8119c8cd0cf7a8c72c623308c5d3?ds=inline;hp=ec47c921b719f986fd221c5302c4190f18fdab75 fix in book2partner --- diff --git a/scripts/book2partner b/scripts/book2partner index 3534d2a..f1892bb 100755 --- a/scripts/book2partner +++ b/scripts/book2partner @@ -6,6 +6,8 @@ # import inspect import optparse +import os +import sys from librarian import packagers try: @@ -52,6 +54,7 @@ if __name__ == '__main__': options, input_filenames = parser.parse_args() packages = OrderedDict() + sys.path.insert(0, os.getcwd()) for module_name in options.packages_modules.split(','): if not module_name: continue