Updated
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
767bf52f3c
commit
2dfe3b3fa4
|
@ -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 "
|
||||||
|
|
|
@ -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 - "
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue