utils/patch.py
def patch():
    """Patch.py is meant to move all new files to the installer location"""
    print('Pushing Patch')
    os.system(f'start cmd /c "pyinstaller app.py -F -n warehousehub --distpath C:/Documents/warehousehub"')
    time.sleep(1)
    rmtree(f'C:/Documents/warehousehub/templates')
    print('Updating Templates')
    time.sleep(1)
    copytree('C:/warehousehub/templates',
             f'C:/Documents/warehousehub/templates')
    print('Done')
Patch.py is meant to move all new files to the installer location
Patch.py is meant to move all new files to the installer location
Patch . py is meant to move all new files to the installer location
def patch():
    print('Pushing Patch')
    os.system(f'start cmd /c "pyinstaller app.py -F -n warehousehub --distpath C:/Documents/warehousehub"')
    time.sleep(1)
    rmtree(f'C:/Documents/warehousehub/templates')
    print('Updating Templates')
    time.sleep(1)
    copytree('C:/warehousehub/templates',
             f'C:/Documents/warehousehub/templates')
    print('Done')
def patch ( ) : print ( 'Pushing Patch' ) os . system ( f'start cmd /c "pyinstaller app.py -F -n warehousehub --distpath C:/Documents/warehousehub"' ) time . sleep ( 1 ) rmtree ( f'C:/Documents/warehousehub/templates' ) print ( 'Updating Templates' ) time . sleep ( 1 ) copytree ( 'C:/warehousehub/templates' , f'C:/Documents/warehousehub/templates' ) print ( 'Done' )
Patch.py is meant to move all new files to the installer location
Patch . py is meant to move all new files to the installer location
"""Patch.py is meant to move all new files to the installer location"""