From 09d761cf749ba06018eafe23cd141b52e9379ba4 Mon Sep 17 00:00:00 2001 From: Mike Hiretsky Date: Thu, 19 Oct 2017 12:38:34 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B0=D0=B2=D1=82=D0=BE=D0=BE=D0=BF=D1=80?= =?UTF-8?q?=D0=B5=D0=B4=D0=B5=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20=D0=BA=D0=B0?= =?UTF-8?q?=D1=82=D0=B5=D0=B3=D0=BE=D1=80=D0=B8=D0=B8=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20world=20=D1=84=D0=B0=D0=B9=D0=BB=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pym/calculate/lib/format/world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/calculate/lib/format/world.py b/pym/calculate/lib/format/world.py index 7f39782..4a42b16 100644 --- a/pym/calculate/lib/format/world.py +++ b/pym/calculate/lib/format/world.py @@ -56,7 +56,7 @@ class world(TemplateFormat): def textToXML(self): """Создание документа из текста self.text """ - category = path.basename(path.dirname(self.template_name)) + category = path.basename(self.template_name) def autocategory(name): if name and "/" not in name: