mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 12:02:48 +01:00
Avoid reference to undefined name: stderr does not exist, sys.stderr does
This commit is contained in:
parent
51cb6b8221
commit
9b94054b7c
@ -140,7 +140,7 @@ if __name__ == '__main__':
|
|||||||
if 'datadir' in settings and not use_userpass:
|
if 'datadir' in settings and not use_userpass:
|
||||||
use_datadir = True
|
use_datadir = True
|
||||||
if not use_userpass and not use_datadir:
|
if not use_userpass and not use_datadir:
|
||||||
print("Missing datadir or username and/or password in cfg file", file=stderr)
|
print("Missing datadir or username and/or password in cfg file", file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
settings['port'] = int(settings['port'])
|
settings['port'] = int(settings['port'])
|
||||||
|
Loading…
Reference in New Issue
Block a user