Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-09-07 10:48:15 +09:00
parent 767bf52f3c
commit 2dfe3b3fa4
2 changed files with 2 additions and 7 deletions

View File

@ -21,8 +21,8 @@ FUSATO_ROOT = '/fusato'
def make_check_sum(): def make_check_sum():
""" Generate the check sum files """ """ Generate the check sum files """
os.chdir(HOME_FOLDER + FUSATO_ROOT) os.chdir(HOME_FOLDER + FUSATO_ROOT)
current_working_directory = os.getcwd() current_working_directory = os.getcwd().replace('/', '/')
for files in os.walk(current_working_directory): for root, dirs, files in os.walk(current_working_directory):
for fiso in files: for fiso in files:
if fiso.endswith('.iso'): if fiso.endswith('.iso'):
sha = "sha512sum " sha = "sha512sum "

View File

@ -26,11 +26,6 @@ term_size = os.get_terminal_size()
# Set up the logging format # Set up the logging format
logger = logging.getLogger() logger = logging.getLogger()
#handler = logging.StreamHandler()
#formatter = logging.Formatter('%(asctime)s %(name)-12s %(levelname)-8s %(message)s')
#handler.setFormatter(formatter)
#logger.addHandler(handler)
#logger.setLevel(logging.DEBUG)
MSG_COPY = "Copying - " MSG_COPY = "Copying - "
MSG_FIN = "Finished - " MSG_FIN = "Finished - "