-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Padron: ajusto impresion encoding consola windows
- Loading branch information
Showing
2 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
||
|
||
|
@@ -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) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,6 +18,7 @@ | |
|
||
import functools | ||
import inspect | ||
import locale | ||
import socket | ||
import sys | ||
import os | ||
|