modified backup.py to test dropbox api

added start of vfs.py to abstract file repos
This commit is contained in:
robweber 2012-10-26 09:42:10 -05:00
parent 9bc0c27ccf
commit 9eb857396a
2 changed files with 18 additions and 1 deletions

View File

@ -1,7 +1,7 @@
import xbmc
import xbmcgui
import xbmcvfs
from resources.dropbox import client, rest, session
from dropbox import client, rest, session
import utils as utils
import os
import time

17
resources/lib/vfs.py Normal file
View File

@ -0,0 +1,17 @@
import utils as utils
class Vfs:
type = 'none'
def __init__(type):
self.type = type
def listdir(directory):
return {}
def mkdir(directory):
return True
def copy(source,dest):
return True