summaryrefslogtreecommitdiff
path: root/rapid/backupfile.py
diff options
context:
space:
mode:
Diffstat (limited to 'rapid/backupfile.py')
-rw-r--r--rapid/backupfile.py5
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,