Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/alkorgun/blacksmith-2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'expansions/books/code.py')
-rw-r--r--expansions/books/code.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/expansions/books/code.py b/expansions/books/code.py
index 6e5aff2..4b96ac7 100644
--- a/expansions/books/code.py
+++ b/expansions/books/code.py
@@ -271,8 +271,8 @@ class expansion_temp(expansion):
if os.path.isfile(Path):
try:
self.importFB2(Path, source[2].strip())
- except SelfExc:
- answer = exc_info()[1]
+ except SelfExc, exc:
+ answer = exc[0]
except:
if AsciiSys:
Path = Path.decode("utf-8")