cc-4105: added todo comment
This commit is contained in:
parent
d76177aed1
commit
aad367863e
|
@ -62,6 +62,7 @@ class ToucherThread(Loggable):
|
||||||
def __init__(self, path, interval=5):
|
def __init__(self, path, interval=5):
|
||||||
if not os.path.exists(path):
|
if not os.path.exists(path):
|
||||||
try:
|
try:
|
||||||
|
# TODO : rewrite using with?
|
||||||
f = open(path,'w')
|
f = open(path,'w')
|
||||||
f.write('')
|
f.write('')
|
||||||
f.close()
|
f.close()
|
||||||
|
|
Loading…
Reference in New Issue