Small formatting adjustment
This commit is contained in:
parent
920f481049
commit
177401ecc8
4 changed files with 4 additions and 0 deletions
|
|
@ -39,5 +39,6 @@ CRASH_SERVER = {
|
||||||
'Headers': {'X-Requested-With': 'XMLHttpRequest'},
|
'Headers': {'X-Requested-With': 'XMLHttpRequest'},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
print("This file is not meant to be called directly.")
|
print("This file is not meant to be called directly.")
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import shutil
|
||||||
# STATIC VARIABLES
|
# STATIC VARIABLES
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
# Functions
|
# Functions
|
||||||
def delete_empty_folders(path):
|
def delete_empty_folders(path):
|
||||||
"""Recursively delete all empty folders in path."""
|
"""Recursively delete all empty folders in path."""
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import time
|
||||||
from wk import cfg
|
from wk import cfg
|
||||||
from wk.io import non_clobber_path
|
from wk.io import non_clobber_path
|
||||||
|
|
||||||
|
|
||||||
# STATIC VARIABLES
|
# STATIC VARIABLES
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
# Example: "C:\WK\1955-11-05\WizardKit"
|
# Example: "C:\WK\1955-11-05\WizardKit"
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import psutil
|
||||||
from wk.exe import run_program
|
from wk.exe import run_program
|
||||||
from wk.std import show_data
|
from wk.std import show_data
|
||||||
|
|
||||||
|
|
||||||
# REGEX
|
# REGEX
|
||||||
REGEX_VALID_IP = re.compile(
|
REGEX_VALID_IP = re.compile(
|
||||||
r'(10.\d+.\d+.\d+'
|
r'(10.\d+.\d+.\d+'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue