(filepath)
return True
Unlock a file locked with the lock method.
Unlock a file locked with the lock method.
Unlock a file locked with the lock method .
def unlock(filepath):
    """
    Unlock a file locked with the lock method.
    """
    
    # Create a path for the lock file
    f_lock = filepath + '.lock'
    # Delete the lock file
    if Path(f_lock).exists():
        Path(f_lock).unlink()
     
    return True
def unlock ( filepath ) : # Create a path for the lock file f_lock = filepath + '.lock' # Delete the lock file if Path ( f_lock ) . exists ( ) : Path ( f_lock ) . unlink ( ) return True