ensure dirs end with "/"
This commit is contained in:
parent
cdbd5df997
commit
910f8e8627
1 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,10 @@ class AirtimeMediaMonitorBootstrap():
|
||||||
dir -- pathname of the directory
|
dir -- pathname of the directory
|
||||||
"""
|
"""
|
||||||
def sync_database_to_filesystem(self, dir_id, dir):
|
def sync_database_to_filesystem(self, dir_id, dir):
|
||||||
|
|
||||||
|
dir = os.path.normpath(dir)+"/"
|
||||||
|
|
||||||
|
|
||||||
"""
|
"""
|
||||||
set to hold new and/or modified files. We use a set to make it ok if files are added
|
set to hold new and/or modified files. We use a set to make it ok if files are added
|
||||||
twice. This is because some of the tests for new files return result sets that are not
|
twice. This is because some of the tests for new files return result sets that are not
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue