mirror of
https://github.com/robweber/xbmcbackup.git
synced 2025-11-23 11:41:30 +01:00
minor code fixes based on travis-ci output
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import utils as utils
|
||||
import xbmc
|
||||
import xbmcvfs
|
||||
import xbmcgui
|
||||
@@ -6,8 +5,9 @@ import zipfile
|
||||
import os.path
|
||||
import sys
|
||||
import dropbox
|
||||
from . import utils as utils
|
||||
from dropbox.files import WriteMode,CommitInfo,UploadSessionCursor
|
||||
from authorizers import DropboxAuthorizer,GoogleDriveAuthorizer
|
||||
from .authorizers import DropboxAuthorizer,GoogleDriveAuthorizer
|
||||
|
||||
class Vfs:
|
||||
root_path = None
|
||||
@@ -417,7 +417,7 @@ class GoogleDriveFilesystem(Vfs):
|
||||
if(file.endswith('/')):
|
||||
file = file[:-1]
|
||||
|
||||
if(self.history.has_key(file)):
|
||||
if(file in self.history):
|
||||
|
||||
result = self.history[file]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user