File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -1240,10 +1240,6 @@ def start_worker():
1240
1240
ult = LoopingCall (updateListsTask )
1241
1241
ult .start (600 )
1242
1242
1243
- if not config .disable_gettor :
1244
- gtt = LoopingCall (getTorTask , config )
1245
- gtt .start (3600 )
1246
-
1247
1243
# ##############################################################################
1248
1244
# Static Data loading
1249
1245
# Here we make a file caching to not handle I/O
Original file line number Diff line number Diff line change @@ -210,10 +210,13 @@ def load(self):
210
210
"""
211
211
self .clear ()
212
212
213
- #simple touch to create non existent files
213
+ # simple touch to create non existent files
214
214
try :
215
215
open (self .filename , 'a' ).close ()
216
+ except :
217
+ pass
216
218
219
+ try :
217
220
with open (self .filename , 'r' ) as fh :
218
221
for l in fh .readlines ():
219
222
self .add (re .split ("#" , l )[0 ].rstrip ("[ , \n ,\t ]" ))
You can’t perform that action at this time.
0 commit comments