Created
March 22, 2011 14:51
-
-
Save cviebrock/881325 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- main.py.ORIG 2011-03-22 10:39:57.000000000 -0400 | |
| +++ main.py 2011-03-22 10:40:03.000000000 -0400 | |
| @@ -71,7 +71,11 @@ | |
| raise ValueError("Config value for move_files_destination cannot be None if move_files_enabled is True") | |
| try: | |
| - return cnamer.newPath(destDir, getPathPreview = getPathPreview) | |
| + if Config['copy_instead_of_move']: | |
| + return cnamer.newPath(destDir, getPathPreview = getPathPreview, False, True ) | |
| + else: | |
| + return cnamer.newPath(destDir, getPathPreview = getPathPreview) | |
| + | |
| except OSError, e: | |
| warn(unicode(e)) | |
| --- config_defaults.py.ORIG 2011-03-22 10:40:28.000000000 -0400 | |
| +++ config_defaults.py 2011-03-22 10:27:41.000000000 -0400 | |
| @@ -307,4 +307,7 @@ | |
| # String to join multiple number | |
| 'episode_separator': '-', | |
| + # Copy instead of move | |
| + 'copy_instead_of_move': False, | |
| + | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment