fix usage
This commit is contained in:
parent
f821af6303
commit
f107727434
1 changed files with 3 additions and 3 deletions
|
@ -937,12 +937,12 @@ class Client(object):
|
||||||
def import_srt(self, args):
|
def import_srt(self, args):
|
||||||
'''
|
'''
|
||||||
import srt as annotations, usage:
|
import srt as annotations, usage:
|
||||||
pandora_client ITEMID layername /path/to/transcript.srt
|
pandora_client import_srt ITEMID layername /path/to/transcript.srt
|
||||||
i.e.
|
i.e.
|
||||||
pandora_client ABC transcripts /path/to/transcript.srt
|
pandora_client ipmort_srt ABC transcripts /path/to/transcript.srt
|
||||||
'''
|
'''
|
||||||
if not args:
|
if not args:
|
||||||
print('Usage: pandora_client ABC transcripts /path/to/transcript.srt')
|
print('Usage: pandora_client import_srt ABC transcripts /path/to/transcript.srt')
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
item = args[0]
|
item = args[0]
|
||||||
layer = args[1]
|
layer = args[1]
|
||||||
|
|
Loading…
Reference in a new issue