projects
/
django_unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
changes of os.chdir(instance.jobdirname) os.chdir('..')
[django_unres.git]
/
django_simple
/
todo
/
views.py
diff --git
a/django_simple/todo/views.py
b/django_simple/todo/views.py
index
2134ae5
..
899f08b
100644
(file)
--- a/
django_simple/todo/views.py
+++ b/
django_simple/todo/views.py
@@
-425,9
+425,10
@@
def refresh_done(request):
task.running =1
else:
with open(task.jobdirname+'/file_GB000.stat', 'r') as f:
+ line=''
for line in f:
pass
- if line:
+ if line != '':
last = line.split()[0]
else:
last = 0