fixup! correct typos, adapt chmod of bash scripts
Signed-off-by: Matthias <matthias@pebble>
This commit is contained in:
parent
c8404cdd54
commit
7d297ed805
|
@ -28,8 +28,6 @@ echo "---------- utilisateur: $username"
|
||||||
|
|
||||||
if [ ! -f "out_$username.json" ]; then
|
if [ ! -f "out_$username.json" ]; then
|
||||||
bash find_user_id.sh $username
|
bash find_user_id.sh $username
|
||||||
#FIXME: find_user_id.sh is not part of this repo. maybe get_user.sh?
|
|
||||||
#FIXME: also check if file is empty?
|
|
||||||
fi
|
fi
|
||||||
# Vérifier si le fichier sequences_$username.txt existe
|
# Vérifier si le fichier sequences_$username.txt existe
|
||||||
if [ ! -f "sequences_$username.txt" ]; then
|
if [ ! -f "sequences_$username.txt" ]; then
|
||||||
|
|
|
@ -9,7 +9,7 @@ def parse_args(argv =None):
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument('--username', type=str, help='Username to get the sequences id of', required=True)
|
parser.add_argument('--username', type=str, help='Username to get the sequences id of', required=True)
|
||||||
parser.add_argument('--dev_token', type=str, help='Your mapillary developer token')
|
parser.add_argument('--dev_token', type=str, help='Your mapillary developer token')
|
||||||
parser.add_argument('--max_sequence', type=str, help='Username to get the sequences id of')
|
parser.add_argument('--max_sequence', type=str, help='Limit the amount of retrieved sequence ids')
|
||||||
|
|
||||||
global args
|
global args
|
||||||
args = parser.parse_args(argv)
|
args = parser.parse_args(argv)
|
||||||
|
|
Loading…
Reference in New Issue