1
0
mirror of https://github.com/moparisthebest/SickRage synced 2025-03-03 10:01:53 -05:00

Merge pull request #1240 from Tawmmm/patch-1

Ignore partially synced files from BTSync 2.0 Alpha
This commit is contained in:
echel0n 2015-01-29 14:54:23 -08:00
commit 2c19805bb3

View File

@ -127,7 +127,7 @@ def replaceExtension(filename, newExt):
def isSyncFile(filename):
extension = filename.rpartition(".")[2].lower()
if extension == '!sync' or extension == 'lftp-pget-status' or extension == 'part':
if extension == '!sync' or extension == 'lftp-pget-status' or extension == 'part' or extension == 'bts':
return True
else:
return False