forked from openlp/openlp
close file
This commit is contained in:
parent
17e2277d9c
commit
401d4d2688
@ -276,5 +276,7 @@ class TestServiceItem(TestCase):
|
||||
first_line = items[0]
|
||||
except IOError:
|
||||
first_line = u''
|
||||
finally:
|
||||
open_file.close()
|
||||
return first_line
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user