mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-11-29 19:58:36 +00:00
Update pyDatatoMergin.py
This commit is contained in:
1 parent
c5e9d3c7b8
commit
a62c4b43b5
1 file changed
+4
-4
@@ -424,10 +424,10 @@ def information_depot_mergin(projet, client):
|
||||
# #
|
||||
############################################################################################################################################
|
||||
if __name__ == "__main__":
|
||||
if os.name == "nt": # Windows
|
||||
subprocess.run("cls", shell=True, check=True)
|
||||
else: # Linux / macOS
|
||||
subprocess.run(["clear"], check=True)
|
||||
if os.name == "nt":
|
||||
subprocess.run("cls", shell=True, check=False)
|
||||
elif os.environ.get("TERM"):
|
||||
subprocess.run(["clear"], check=False)
|
||||
|
||||
parser = argparse.ArgumentParser(description="Envoi de fichiers vers Mergin Maps")
|
||||
# parser.add_argument("--source", required=True, help="Dossier contenant les fichiers à envoyer")
|
||||
|
||||
Reference in new issue
Block a user