Merge pull request #124 from DarkSecDevelopers/dev

ifSettingNotExists() hotfix
This commit is contained in:
Artur Tretiak 2018-10-28 22:31:42 +02:00 committed by GitHub
commit 1a28c5a48b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,9 +8,10 @@ import json
from urllib.request import urlopen from urllib.request import urlopen
from subprocess import check_output from subprocess import check_output
from sys import stdout, argv from sys import stdout, argv
from Defs.Configurations import readConfig from Defs.Configurations import readConfig, ifSettingsNotExists
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m' RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
ifSettingsNotExists()
config = readConfig() config = readConfig()
logFile = None logFile = None
didBackground = config.get("Settings","DidBackground") didBackground = config.get("Settings","DidBackground")