diff options
Diffstat (limited to 'archivo.py')
-rw-r--r-- | archivo.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -25,7 +25,8 @@ from gettext import gettext as _ _log = logging.getLogger('Log archivo') def indice_entero(cadena): - '''return an int from a string with tuple sintax''' + '''Convert a turple's index to an interger number, for + be used by others functions''' cadena = cadena.replace('(','') cadena = cadena.replace(',','') cadena = cadena.replace(')','') @@ -67,7 +68,8 @@ def crear_modelo(indice, path): return modelo def comprobar_efemeride(path): - '''test is the ephemeri file exists''' + '''Return true if the ephemeris database exists, + else return false''' path = path + '/data/efemerides.pkl' if not os.path.exists(path): return False |