diff options
author | yaderv <yajosev@gmail.com> | 2011-03-25 17:23:14 (GMT) |
---|---|---|
committer | yaderv <yajosev@gmail.com> | 2011-03-25 17:23:14 (GMT) |
commit | 7f9c1a762cd98519b19432932741881c5e8c146f (patch) | |
tree | c13450eb33e4d54973fd56c36618345373ddb379 | |
parent | 9fa3449c826b7a7615aa6dff263ba8d283462dca (diff) |
- before cut a long text line
-rw-r--r-- | archivo.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -88,8 +88,6 @@ def tareas_pendientes(path): for datos in dia[fechas_datos]: if progreso in datos: modelo.append([datos[0], '#FFFFFF']) - #else: - #modelo.append(['']) return modelo @@ -132,7 +130,7 @@ def guardar_archivo(path, file_name, tipo_archivo): else: current_text = lines[i][4 : len(lines[i]) - 2] for j in range(30, len(current_text),30): - current_text = current_text[:j] + '\n' + current_text[j:] + current_text = current_text[:j] + '-\n' + current_text[j:] if tipo_archivo is 1: current_id = lines[i][0 : 8] else: |