CC-4662: Media Monitor: Unable to add watched folder because it's read only, by airtime-import command

- fixed
This commit is contained in:
James 2012-11-20 17:35:18 -05:00
parent 0870b1f018
commit f246a09b1a
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ def WatchAddAction(option, opt, value, parser):
path = currentDir+path
path = apc.encode_to(path, 'utf-8')
if(os.path.isdir(path)):
os.chmod(path, 0765)
#os.chmod(path, 0765)
res = api_client.add_watched_dir(path)
if(res is None):
exit("Unable to connect to the server.")