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