From 0488a2ce098cbb6713632cb3fd644cdac825d2f1 Mon Sep 17 00:00:00 2001 From: bruno Date: Sat, 28 Mar 2015 11:43:07 -0300 Subject: [PATCH] Corrigindo Path do AplicaRegras.py --- src/AplicaRegras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AplicaRegras.py b/src/AplicaRegras.py index a15b3f3..bfc11c8 100644 --- a/src/AplicaRegras.py +++ b/src/AplicaRegras.py @@ -33,7 +33,7 @@ class AplicaRegras(object): # Gera arvore a partir do arquivos regras.xml def get_root(self): if platform.system() == 'Windows': - return ET.parse(expanduser("~")+'\\vlibras-translate\data\\regras.xml').getroot() + return ET.parse(environ.get("HOMEDRIVE")+'\\vlibras-libs\\vlibras-translate\data\\regras.xml').getroot() return ET.parse(expanduser("~")+'/vlibras-translate/data/regras.xml').getroot() # Aplica regras morfológicas apartir do arquivo regras.xml -- libgit2 0.21.2