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

This commit is contained in:
SomberNight 2017-10-12 08:04:55 +02:00
parent f381eae251
commit 0510bdb85b
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -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):