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 18
18
# Windows disallow control characters (0-31) and /\?%:|"<>
19
19
FILE_CHAR_START = 32 if os .name == 'nt' else 1
20
20
FILE_CHAR_END = 128
21
- FILE_CHAR_BLOCKLIST = '/\\ ?%*:|"<>' if os .name == 'nt' else '/'
21
+ FILE_CHARS_DISALLOWED = '/\\ ?%*:|"<>' if os .name == 'nt' else '/'
22
22
23
23
24
24
def notify_outputname (walletname , txid ):
@@ -31,7 +31,7 @@ def set_test_params(self):
31
31
self .setup_clean_chain = True
32
32
33
33
def setup_network (self ):
34
- self .wallet = '' .join (chr (i ) for i in range (FILE_CHAR_START , FILE_CHAR_END ) if chr (i ) not in FILE_CHAR_BLOCKLIST )
34
+ self .wallet = '' .join (chr (i ) for i in range (FILE_CHAR_START , FILE_CHAR_END ) if chr (i ) not in FILE_CHARS_DISALLOWED )
35
35
self .alertnotify_dir = os .path .join (self .options .tmpdir , "alertnotify" )
36
36
self .blocknotify_dir = os .path .join (self .options .tmpdir , "blocknotify" )
37
37
self .walletnotify_dir = os .path .join (self .options .tmpdir , "walletnotify" )
You can’t perform that action at this time.
0 commit comments