Skip to content

Commit 946c708

Browse files
committed
added return and modified conf file location
Signed-off-by: UTKARSH KUMAR <[email protected]>
1 parent 392bba3 commit 946c708

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wscdc.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
# Constantes (si se usa el script de linea de comandos)
3737
WSDL = "https://wswhomo.afip.gov.ar/WSCDC/service.asmx?WSDL"
3838
HOMO = False
39-
CONFIG_FILE = "conf/rece.ini"
39+
CONFIG_FILE = "rece.ini"
4040

4141
# No debería ser necesario modificar nada despues de esta linea
4242

@@ -363,7 +363,7 @@ def main():
363363
% (clave, comienzo, longitud, tipo, desc.encode("latin1"))
364364
)
365365
comienzo += longitud
366-
# sys.exit(0)
366+
return
367367

368368
# leer configuracion
369369
global CONFIG_FILE
@@ -404,7 +404,7 @@ def main():
404404
print("AppServerStatus", wscdc.AppServerStatus)
405405
print("DbServerStatus", wscdc.DbServerStatus)
406406
print("AuthServerStatus", wscdc.AuthServerStatus)
407-
# sys.exit(0)
407+
return
408408

409409
# Gestionar credenciales de acceso con AFIP:
410410
from .wsaa import WSAA

0 commit comments

Comments
 (0)