Merge branch '2.0.x' of dev.sourcefabric.org:airtime into 2.0.x
This commit is contained in:
commit
3689d229d1
1 changed files with 3 additions and 0 deletions
|
@ -251,6 +251,9 @@ class MediaMonitorCommon:
|
||||||
return stdout.splitlines()
|
return stdout.splitlines()
|
||||||
|
|
||||||
def touch_index_file(self):
|
def touch_index_file(self):
|
||||||
|
dirname = os.path.dirname(self.timestamp_file)
|
||||||
|
if not os.path.exists(dirname):
|
||||||
|
os.makedirs(dirname)
|
||||||
open(self.timestamp_file, "w")
|
open(self.timestamp_file, "w")
|
||||||
|
|
||||||
def organize_new_file(self, pathname):
|
def organize_new_file(self, pathname):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue