mirror of
https://github.com/robweber/xbmcbackup.git
synced 2024-11-14 12:25:48 +01:00
pep8 fixes
This commit is contained in:
parent
7ce9123e1f
commit
90b4aeeebe
@ -20,11 +20,11 @@ class Vfs:
|
|||||||
def clean_path(self, path):
|
def clean_path(self, path):
|
||||||
# fix slashes
|
# fix slashes
|
||||||
path = path.replace("\\", "/")
|
path = path.replace("\\", "/")
|
||||||
|
|
||||||
# check if trailing slash is included
|
# check if trailing slash is included
|
||||||
if(path[-1:] != '/'):
|
if(path[-1:] != '/'):
|
||||||
path = path + '/'
|
path = path + '/'
|
||||||
|
|
||||||
return path
|
return path
|
||||||
|
|
||||||
def set_root(self, rootString):
|
def set_root(self, rootString):
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from resources.lib.scheduler import BackupScheduler
|
from resources.lib.scheduler import BackupScheduler
|
||||||
|
|
||||||
# start the backup scheduler
|
# start the backup scheduler
|
||||||
BackupScheduler().start()
|
BackupScheduler().start()
|
||||||
|
Loading…
Reference in New Issue
Block a user