Small formatting adjustment

This commit is contained in:
2Shirt 2019-11-09 17:28:43 -07:00
parent 920f481049
commit 177401ecc8
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C
4 changed files with 4 additions and 0 deletions

View file

@ -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.")

View file

@ -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."""

View file

@ -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"

View file

@ -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+'