Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryaderv <yajosev@gmail.com>2011-03-25 17:23:14 (GMT)
committer yaderv <yajosev@gmail.com>2011-03-25 17:23:14 (GMT)
commit7f9c1a762cd98519b19432932741881c5e8c146f (patch)
treec13450eb33e4d54973fd56c36618345373ddb379
parent9fa3449c826b7a7615aa6dff263ba8d283462dca (diff)
- before cut a long text line
-rw-r--r--archivo.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/archivo.py b/archivo.py
index 387a29a..b088ad4 100644
--- a/archivo.py
+++ b/archivo.py
@@ -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: