This commit is contained in:
Kovid Goyal 2011-02-08 16:25:44 -07:00
parent f461783a37
commit a4e8f8b8b5

View File

@ -1036,6 +1036,8 @@ class DeviceMixin(object): # {{{
total_size = self.location_manager.free[0] total_size = self.location_manager.free[0]
if self.location_manager.free[0] > total_size + (1024**2): if self.location_manager.free[0] > total_size + (1024**2):
# Send news to main memory if enough space available # Send news to main memory if enough space available
# as some devices like the Nook Color cannot handle
# periodicals on SD cards properly
on_card = None on_card = None
self.upload_books(files, names, metadata, self.upload_books(files, names, metadata,
on_card=on_card, on_card=on_card,