diff options
author | Julien Valroff <julien@kirya.net> | 2011-10-02 07:08:32 +0200 |
---|---|---|
committer | Julien Valroff <julien@kirya.net> | 2011-10-02 07:08:32 +0200 |
commit | 4c40bf847c184b9cdd8f9fab8b582ff031b84725 (patch) | |
tree | 89d7abc84d2debe8043135bade79b1c3f9ad2471 /rapid/backupfile.py | |
parent | eecc3859c40ec5d9b1a0b06a88dd0ff6df0096f7 (diff) | |
parent | da2cce92a7eed706d04d6cbe778fd1bf32f18eeb (diff) |
Merge commit 'upstream/0.4.2'
Diffstat (limited to 'rapid/backupfile.py')
-rw-r--r-- | rapid/backupfile.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rapid/backupfile.py b/rapid/backupfile.py index 6b6d11d..40039bc 100644 --- a/rapid/backupfile.py +++ b/rapid/backupfile.py @@ -31,6 +31,9 @@ import rpdfile import problemnotification as pn import config +PHOTO_BACKUP = 1 +VIDEO_BACKUP = 2 +PHOTO_VIDEO_BACKUP = 3 from gettext import gettext as _ @@ -149,7 +152,7 @@ class BackupFiles(multiprocessing.Process): if backup_duplicate_overwrite: flags = gio.FILE_COPY_OVERWRITE else: - flags = gio.FILE_COPY_NONE + flags = gio.FILE_COPY_NONE try: source.copy(dest, self.progress_callback, flags, |