fix: missing import 'stat' in network.py and simple_config.py
This commit is contained in:
parent
f381eae251
commit
0510bdb85b
|
@ -29,6 +29,7 @@ from __future__ import unicode_literals
|
|||
import time
|
||||
import queue
|
||||
import os
|
||||
import stat
|
||||
import errno
|
||||
import sys
|
||||
import random
|
||||
|
|
|
@ -7,6 +7,7 @@ import ast
|
|||
import json
|
||||
import threading
|
||||
import os
|
||||
import stat
|
||||
|
||||
from copy import deepcopy
|
||||
from .util import user_dir, print_error, print_msg, print_stderr, PrintError
|
||||
|
@ -147,7 +148,6 @@ class SimpleConfig(PrintError):
|
|||
f.write(s)
|
||||
f.close()
|
||||
if 'ANDROID_DATA' not in os.environ:
|
||||
import stat
|
||||
os.chmod(path, stat.S_IREAD | stat.S_IWRITE)
|
||||
|
||||
def get_wallet_path(self):
|
||||
|
|
Loading…
Reference in New Issue