File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1205,7 +1205,7 @@ def hash_exists(self, updatehash=False):
1205
1205
# of the dictionary itself.
1206
1206
hashed_inputs , hashvalue = self ._get_hashval ()
1207
1207
outdir = self .output_dir ()
1208
- hashfiles = glob (os .path .join (outdir , '*.json' ))
1208
+ hashfiles = glob (os .path .join (outdir , '_0x *.json' ))
1209
1209
if len (hashfiles ) > 1 :
1210
1210
warn ('Removing multiple hashfiles and forcing node to rerun' )
1211
1211
for hashfile in hashfiles :
@@ -1305,7 +1305,7 @@ def run(self, updatehash=False):
1305
1305
hashfile_unfinished )
1306
1306
if isinstance (self , MapNode ):
1307
1307
# remove old json files
1308
- for filename in glob (os .path .join (outdir , '*.json' )):
1308
+ for filename in glob (os .path .join (outdir , '_0x *.json' )):
1309
1309
os .unlink (filename )
1310
1310
outdir = make_output_dir (outdir )
1311
1311
self ._save_hashfile (hashfile_unfinished , hashed_inputs )
You can’t perform that action at this time.
0 commit comments