Browse Source

fix: missing import 'stat' in network.py and simple_config.py

seed_v14
SomberNight 7 years ago
parent
commit
0510bdb85b
  1. 1
      lib/network.py
  2. 2
      lib/simple_config.py

1
lib/network.py

@ -29,6 +29,7 @@ from __future__ import unicode_literals
import time
import queue
import os
import stat
import errno
import sys
import random

2
lib/simple_config.py

@ -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…
Cancel
Save