Skip to content

Commit

Permalink
Handle case when both always_copy and prefer_hardlink_to_copy are True
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Willy committed Apr 13, 2020
1 parent 57660c0 commit b2558b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tvnamer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ class Renamer(object):
def __init__(self, filename):
self.filename = os.path.abspath(filename)

def newPath(self, new_path = None, new_fullpath = None, force = False, always_copy = False, always_move = False, always_hardlink = False, leave_symlink = False, create_dirs = True, getPathPreview = False):
def newPath(self, new_path = None, new_fullpath = None, force = False, always_copy = False, prefer_hardlink_to_copy = False, always_move = False, always_hardlink = False, leave_symlink = False, create_dirs = True, getPathPreview = False):
"""Moves the file to a new path.
If it is on the same partition, it will be moved (unless always_copy is True)
Expand Down

0 comments on commit b2558b8

Please sign in to comment.