Skip to content

Commit

Permalink
Padron: ajusto impresion encoding consola windows
Browse files Browse the repository at this point in the history
  • Loading branch information
reingart committed May 27, 2015
1 parent 9a619c7 commit 91650d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 4 additions & 2 deletions padron.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
__author__ = "Mariano Reingart <[email protected]>"
__copyright__ = "Copyright (C) 2014 Mariano Reingart"
__license__ = "GPL 3.0"
__version__ = "1.04b"
__version__ = "1.04c"


import json
Expand All @@ -29,7 +29,7 @@
import zipfile
from email.utils import formatdate
import sys
from utils import leer, escribir, N, A, I, get_install_dir, \
from utils import leer, escribir, N, A, I, get_install_dir, safe_console, \
inicializar_y_capturar_excepciones_simple, WebClient


Expand Down Expand Up @@ -336,6 +336,8 @@ def Consultar(self, nro_doc):

if __name__ == "__main__":

safe_console()

if "--register" in sys.argv or "--unregister" in sys.argv:
import win32com.server.register
win32com.server.register.UseCommandLine(PadronAFIP)
Expand Down
1 change: 1 addition & 0 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import functools
import inspect
import locale
import socket
import sys
import os
Expand Down

0 comments on commit 91650d7

Please sign in to comment.