mirror of
https://github.com/Alex38Lyon/Synthese-PSM_LARRA.git
synced 2026-06-01 22:00:53 +00:00
Debug
This commit is contained in:
Binary file not shown.
@@ -311,7 +311,7 @@ def setup_logger(logfile="app.log", debug_log=False):
|
|||||||
file_formatter = FileFormatter("%(asctime)s - %(levelname)s - %(message)s") # <-- Ta classe personnalisée
|
file_formatter = FileFormatter("%(asctime)s - %(levelname)s - %(message)s") # <-- Ta classe personnalisée
|
||||||
file_handler.setFormatter(file_formatter)
|
file_handler.setFormatter(file_formatter)
|
||||||
logger.addHandler(file_handler)
|
logger.addHandler(file_handler)
|
||||||
|
|
||||||
return logger
|
return logger
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ error_count = 0 # Compteur d'erreurs
|
|||||||
## [Survey_Data] default values
|
## [Survey_Data] default values
|
||||||
Author = "Created by pyCreateTh.py"
|
Author = "Created by pyCreateTh.py"
|
||||||
Copyright = "# Copyright(C) pyCreateTh.py"
|
Copyright = "# Copyright(C) pyCreateTh.py"
|
||||||
CopyrightShort = "Licence(C) pyCreateTh.py"
|
CopyrightShort = "License(C) pyCreateTh.py"
|
||||||
mapComment = "Created by pyCreateTh.py"
|
mapComment = "Created by pyCreateTh.py"
|
||||||
cs = "UTM30"
|
cs = "UTM30"
|
||||||
club = "Therion"
|
club = "Therion"
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ def writethconfig(pdata, icomments, icoupe, thlang, dictcave,
|
|||||||
f2w.write(u'encoding utf-8 \n\n')
|
f2w.write(u'encoding utf-8 \n\n')
|
||||||
f2w.write(u'# File written by pytro2th (Xavier Robert) \n')
|
f2w.write(u'# File written by pytro2th (Xavier Robert) \n')
|
||||||
f2w.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr> \n' %(str(datetime.datetime.now().year)))
|
f2w.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr> \n' %(str(datetime.datetime.now().year)))
|
||||||
f2w.write(u'# This work is under the licence Creatice Commonc CC-by-nc-sa v.4 \n\n')
|
f2w.write(u'# This work is under the License Creatice Commonc CC-by-nc-sa v.4 \n\n')
|
||||||
|
|
||||||
|
|
||||||
if icomments:
|
if icomments:
|
||||||
@@ -561,7 +561,7 @@ def writethc(pdata, cavename = None, istructure = True):
|
|||||||
|
|
||||||
Author: Xavier Robert, Lima 2016/06/27
|
Author: Xavier Robert, Lima 2016/06/27
|
||||||
|
|
||||||
Licence: CCby-nc
|
License: CCby-nc
|
||||||
"""
|
"""
|
||||||
# Open the file
|
# Open the file
|
||||||
|
|
||||||
|
|||||||
@@ -331,7 +331,7 @@ def write_thtot(file, cavename = u'cave', icomments = True, thlang = 'en'):
|
|||||||
if icomments:
|
if icomments:
|
||||||
if thlang == u'fr':
|
if thlang == u'fr':
|
||||||
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
||||||
file.write(u'# Ce travaille est sous la licence Creative Commons Attribution-ShareAlike-NonCommecial :\n')
|
file.write(u'# Ce travaille est sous la License Creative Commons Attribution-ShareAlike-NonCommecial :\n')
|
||||||
file.write(u'# <http://creativecommons.org/licenses/by-nc-sa/4.0/>\n\n')
|
file.write(u'# <http://creativecommons.org/licenses/by-nc-sa/4.0/>\n\n')
|
||||||
elif thlang == u'en':
|
elif thlang == u'en':
|
||||||
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
||||||
@@ -429,7 +429,7 @@ def write_thmaps(file, cavename = u'cave', icomments = True, thlang = 'en'):
|
|||||||
if icomments:
|
if icomments:
|
||||||
if thlang == u'fr':
|
if thlang == u'fr':
|
||||||
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
||||||
file.write(u'# Ce travail est sous la licence Creative Commons Attribution-ShareAlike-NonCommecial :\n')
|
file.write(u'# Ce travail est sous la License Creative Commons Attribution-ShareAlike-NonCommecial :\n')
|
||||||
file.write(u'# <http://creativecommons.org/licenses/by-nc-sa/4.0/>\n\n')
|
file.write(u'# <http://creativecommons.org/licenses/by-nc-sa/4.0/>\n\n')
|
||||||
elif thlang == u'en':
|
elif thlang == u'en':
|
||||||
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
||||||
@@ -498,7 +498,7 @@ def write_thcoords(file, cavename = u'cave', coordinates = None, coordsyst = Non
|
|||||||
if icomments:
|
if icomments:
|
||||||
if thlang == u'fr':
|
if thlang == u'fr':
|
||||||
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
||||||
file.write(u'# Ce travail est sous la licence Creative Commons Attribution-ShareAlike-NonCommecial :\n')
|
file.write(u'# Ce travail est sous la License Creative Commons Attribution-ShareAlike-NonCommecial :\n')
|
||||||
file.write(u'# <http://creativecommons.org/licenses/by-nc-sa/4.0/>\n\n')
|
file.write(u'# <http://creativecommons.org/licenses/by-nc-sa/4.0/>\n\n')
|
||||||
elif thlang == u'en':
|
elif thlang == u'en':
|
||||||
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
file.write(u'# Copyright (C) %s Xavier Robert <xavier.robert***@***ird.fr>\n' %(str(datetime.datetime.now().year)))
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ The different arguments are described.
|
|||||||
|
|
||||||
xavier.robert@ujf-grenoble.fr
|
xavier.robert@ujf-grenoble.fr
|
||||||
|
|
||||||
(c) licence CCby-nc : http://creativecommons.org/licenses/by-nc/3.0/ 2015
|
(c) License CCby-nc : http://creativecommons.org/licenses/by-nc/3.0/ 2015
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ def tro2th(fle_tro_fnme = None, fle_th_fnme = None,
|
|||||||
|
|
||||||
Author: Xavier Robert, Lima 2016/06/27
|
Author: Xavier Robert, Lima 2016/06/27
|
||||||
|
|
||||||
Licence: CCby-nc
|
License: CCby-nc
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if thlang in [u'fr', u'FR', u'Fr', u'fR']: thlang = u'fr'
|
if thlang in [u'fr', u'FR', u'Fr', u'fR']: thlang = u'fr'
|
||||||
@@ -388,7 +388,7 @@ def convert_tro(fle_tro_fnme, fle_tro_encoding=None, fle_th_fnme = None, cavenam
|
|||||||
|
|
||||||
Author: Xavier Robert, Lima 2016/06/27
|
Author: Xavier Robert, Lima 2016/06/27
|
||||||
|
|
||||||
Licence: CCby-nc
|
License: CCby-nc
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#from codecs import open
|
#from codecs import open
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ def read_vtopo_header(lines):
|
|||||||
|
|
||||||
Author: Xavier Robert, Lima 2016/06/27
|
Author: Xavier Robert, Lima 2016/06/27
|
||||||
|
|
||||||
Licence: CCby-nc
|
License: CCby-nc
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# coord_dict: French Lambert system. To find number of your system, see extern/proj4/nad/epsg
|
# coord_dict: French Lambert system. To find number of your system, see extern/proj4/nad/epsg
|
||||||
@@ -122,7 +122,7 @@ def read_settings(line):
|
|||||||
|
|
||||||
Author: Xavier Robert, Lima 2016/06/27
|
Author: Xavier Robert, Lima 2016/06/27
|
||||||
|
|
||||||
Licence: CCby-nc
|
License: CCby-nc
|
||||||
"""
|
"""
|
||||||
# Question: Do we have to update the code in function of the vtopo version number?
|
# Question: Do we have to update the code in function of the vtopo version number?
|
||||||
param = line[6:].rstrip(u'\n\r').split(u' ')
|
param = line[6:].rstrip(u'\n\r').split(u' ')
|
||||||
@@ -173,7 +173,7 @@ def read_data(lines, settings, j, iline):
|
|||||||
|
|
||||||
Author: Xavier Robert, Lima 2016/06/27
|
Author: Xavier Robert, Lima 2016/06/27
|
||||||
|
|
||||||
Licence: CCby-nc
|
License: CCby-nc
|
||||||
"""
|
"""
|
||||||
|
|
||||||
data = []
|
data = []
|
||||||
@@ -216,7 +216,7 @@ def convert_text(lines):
|
|||||||
|
|
||||||
Author: Xavier Robert, Lima 2016/06/27
|
Author: Xavier Robert, Lima 2016/06/27
|
||||||
|
|
||||||
Licence: CCby-nc
|
License: CCby-nc
|
||||||
"""
|
"""
|
||||||
dictcaract ={'\xe8' : u'è',
|
dictcaract ={'\xe8' : u'è',
|
||||||
'\xe0' : u'à',
|
'\xe0' : u'à',
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -27,7 +27,7 @@ encoding utf-8
|
|||||||
###############################################################################################
|
###############################################################################################
|
||||||
## La ligne source spécifie le fichier ou sont les donnees topo
|
## La ligne source spécifie le fichier ou sont les donnees topo
|
||||||
## jb.th". (Au fichier "jb.th" il faudra avoir une ligne
|
## jb.th". (Au fichier "jb.th" il faudra avoir une ligne
|
||||||
## "input "nomducavite.th2" pour specifier le fichier ou se trouvent
|
## "input "nomcavite.th2" pour spécifier le fichier ou se trouvent
|
||||||
## les donnees du dessin, comme ça, ce fichier thconfig appellera
|
## les donnees du dessin, comme ça, ce fichier thconfig appellera
|
||||||
## "jb.th" et a leur tour, "jb.th" appellera
|
## "jb.th" et a leur tour, "jb.th" appellera
|
||||||
## "jb-dessin.th2")
|
## "jb-dessin.th2")
|
||||||
@@ -44,7 +44,9 @@ input {configPath}config.thc
|
|||||||
## Ici, on peut specifier des choses comme les symboles à utiliser (UIS, etc)
|
## Ici, on peut specifier des choses comme les symboles à utiliser (UIS, etc)
|
||||||
## ou imprimer des explications des symboles
|
## ou imprimer des explications des symboles
|
||||||
|
|
||||||
|
###############################################################################################
|
||||||
## Début de la définition du layout "Layout-Plan"
|
## Début de la définition du layout "Layout-Plan"
|
||||||
|
###############################################################################################
|
||||||
layout layout-Plan
|
layout layout-Plan
|
||||||
## Call the config settings (Layout config inside the config.thc file)
|
## Call the config settings (Layout config inside the config.thc file)
|
||||||
copy fonts_1000
|
copy fonts_1000
|
||||||
@@ -158,24 +160,24 @@ layout layout-Plan
|
|||||||
overlap 2 cm
|
overlap 2 cm
|
||||||
|
|
||||||
code tex-map
|
code tex-map
|
||||||
\legendwidth=15cm
|
\legendwidth=15cm %%% Largeur cartouche
|
||||||
\legendtextsize={\size[12]}
|
\legendtextsize={\size[12]} %%% Police principale
|
||||||
\legendtextheadersize={\size[28]} %%% Taille du titre
|
\legendtextheadersize={\size[28]} %%% Taille du titre
|
||||||
\legendtextsectionsize={\size[14]} %%% Taille du titre
|
\legendtextsectionsize={\size[14]} %%% Taille des sous titres
|
||||||
%\legendtextcolor={\color[0 0 110]} %# RGB values 0--100
|
%\legendtextcolor={\color[0 0 110]} %%% RGB values 0--100
|
||||||
% Output map title as determined by Therion is stored in caveName, défini par la une Map.
|
% Output map title as determined by Therion is stored in caveName, défini par la une Map.
|
||||||
% It will be empty if there are multiple maps selected for any one projection
|
% It will be empty if there are multiple maps selected for any one projection
|
||||||
% AND there are multiple source surveys identified in the thconfig file
|
% AND there are multiple source surveys identified in the thconfig file
|
||||||
% ie Therion can not infer a unique title from the input data given.
|
% ie Therion can not infer a unique title from the input data given.
|
||||||
% This code allows you to define an output map title {caveName} if it happens to be empty
|
% This code allows you to define an output map title {caveName} if it happens to be empty
|
||||||
\edef\temp{\the\caveName} % caveName from Therion
|
\edef\temp{\the\cavename} %%% cavename from Therion
|
||||||
\edef\nostring{} % empty string
|
\edef\nostring{} %%% empty string
|
||||||
\ifx\temp\nostring % test if caveName is empty
|
\ifx\temp\nostring %%% test if cavename is empty
|
||||||
% if empty
|
% if empty
|
||||||
reassign caveName to describe selected maps as a group
|
reassign cavename to describe selected maps as a group
|
||||||
\else % if not empty keep the value set by therion, or assign an override caveName here
|
\else %%% if not empty keep the value set by therion, or assign an override cavename here
|
||||||
\fi
|
\fi
|
||||||
\caveName={{caveName}, Plan 1:{Scale}} % Note Alex : Bug avec certains fichiers ?
|
\cavename={{caveName}, Plan 1:{Scale}} %%% Note Alex : Bug avec certains fichiers ?
|
||||||
\newtoks\club \club={{club}}
|
\newtoks\club \club={{club}}
|
||||||
%\newtoks\thanksto \thanksto={{thanksto}}
|
%\newtoks\thanksto \thanksto={{thanksto}}
|
||||||
\newtoks\wpage \wpage={{wpage}}
|
\newtoks\wpage \wpage={{wpage}}
|
||||||
@@ -185,9 +187,10 @@ layout layout-Plan
|
|||||||
endcode
|
endcode
|
||||||
|
|
||||||
endlayout
|
endlayout
|
||||||
## fin de la définition du layout
|
|
||||||
|
|
||||||
|
###############################################################################################
|
||||||
##debut de la definition du layout "layout-Extended"
|
##debut de la definition du layout "layout-Extended"
|
||||||
|
###############################################################################################
|
||||||
layout layout-Extended
|
layout layout-Extended
|
||||||
## Call the config settings (Layout config inside the config.thc file)
|
## Call the config settings (Layout config inside the config.thc file)
|
||||||
copy drawingconfig
|
copy drawingconfig
|
||||||
@@ -300,24 +303,24 @@ layout layout-Extended
|
|||||||
|
|
||||||
## Modification du Titre de la topo
|
## Modification du Titre de la topo
|
||||||
code tex-map
|
code tex-map
|
||||||
\legendwidth=15cm
|
\legendwidth=15cm %%% Largeur cartouche
|
||||||
\legendtextsize={\size[12]}
|
\legendtextsize={\size[12]} %%% Police principale
|
||||||
\legendtextheadersize={\size[28]} %%% Taille du titre
|
\legendtextheadersize={\size[28]} %%% Taille du titre
|
||||||
\legendtextsectionsize={\size[14]} %%% Taille du titre
|
\legendtextsectionsize={\size[14]} %%% Taille des sous titres
|
||||||
%\legendtextcolor={\color[0 0 110]} %# RGB values 0--100
|
%\legendtextcolor={\color[0 0 110]} %%% RGB values 0--100
|
||||||
% Output map title as determined by Therion is stored in caveName, défini par la une Map.
|
% Output map title as determined by Therion is stored in caveName, défini par la une Map.
|
||||||
% It will be empty if there are multiple maps selected for any one projection
|
% It will be empty if there are multiple maps selected for any one projection
|
||||||
% AND there are multiple source surveys identified in the thconfig file
|
% AND there are multiple source surveys identified in the thconfig file
|
||||||
% ie Therion can not infer a unique title from the input data given.
|
% ie Therion can not infer a unique title from the input data given.
|
||||||
% This code allows you to define an output map title {caveName} if it happens to be empty
|
% This code allows you to define an output map title {caveName} if it happens to be empty
|
||||||
\edef\temp{\the\caveName} % caveName from Therion
|
\edef\temp{\the\cavename} %%% cavename from Therion
|
||||||
\edef\nostring{} % empty string
|
\edef\nostring{} %%% empty string
|
||||||
\ifx\temp\nostring % test if caveName is empty
|
\ifx\temp\nostring %%% test if cavename is empty
|
||||||
% if empty
|
% if empty
|
||||||
reassign caveName to describe selected maps as a group
|
reassign cavename to describe selected maps as a group
|
||||||
\else % if not empty keep the value set by therion, or assign an override caveName here
|
\else %%% if not empty keep the value set by therion, or assign an override cavename here
|
||||||
\fi
|
\fi
|
||||||
\caveName={{caveName}, Coupe développée 1:{Scale}} % Note Alex : Bug avec certains fichiers ?
|
\cavename={{caveName}, Coupe développée 1:{Scale}} %%% Note Alex : Bug avec certains fichiers ?
|
||||||
\newtoks\club \club={{club}}
|
\newtoks\club \club={{club}}
|
||||||
%\newtoks\thanksto \thanksto={{thanksto}}
|
%\newtoks\thanksto \thanksto={{thanksto}}
|
||||||
\newtoks\wpage \wpage={{wpage}}
|
\newtoks\wpage \wpage={{wpage}}
|
||||||
@@ -327,9 +330,11 @@ layout layout-Extended
|
|||||||
endcode
|
endcode
|
||||||
|
|
||||||
endlayout
|
endlayout
|
||||||
## Fin de la definition du Layout
|
|
||||||
|
|
||||||
|
|
||||||
|
###############################################################################################
|
||||||
## Début de la définition du Layout "layout-kml"
|
## Début de la définition du Layout "layout-kml"
|
||||||
|
###############################################################################################
|
||||||
layout layout-kml
|
layout layout-kml
|
||||||
## Définition du système de projection du plan
|
## Définition du système de projection du plan
|
||||||
cs EPSG:2154
|
cs EPSG:2154
|
||||||
@@ -341,7 +346,9 @@ layout layout-kml
|
|||||||
color map-fg [0 0 100]
|
color map-fg [0 0 100]
|
||||||
endlayout
|
endlayout
|
||||||
|
|
||||||
|
###############################################################################################
|
||||||
## Début de la définition du Layout "xviexport"
|
## Début de la définition du Layout "xviexport"
|
||||||
|
###############################################################################################
|
||||||
layout xviexport
|
layout xviexport
|
||||||
# cs UTM32
|
# cs UTM32
|
||||||
## echelle à laquelle on veut dessiner la topo
|
## echelle à laquelle on veut dessiner la topo
|
||||||
@@ -358,29 +365,29 @@ endlayout
|
|||||||
# 3-EXPORT
|
# 3-EXPORT
|
||||||
###############################################################################################
|
###############################################################################################
|
||||||
|
|
||||||
## Export des xvi pour le dessin si besoin
|
## Export des xvi pour le dessin si besoin
|
||||||
# export map -proj plan -layout xviexport -fmt xvi -o Data/{fileName}-Plan.xvi
|
# export map -proj plan -layout xviexport -fmt xvi -o Data/{fileName}-Plan.xvi
|
||||||
# export map -proj extended -layout xviexport -fmt xvi -o Data/{fileName}-Extended.xvi
|
# export map -proj extended -layout xviexport -fmt xvi -o Data/{fileName}-Extended.xvi
|
||||||
|
|
||||||
## Selection des Maps à exporter
|
## Selection des Maps à exporter
|
||||||
# select MP-{fileName}-Plan-tot@{fileName}
|
# select MP-{fileName}-Plan-tot@{fileName}
|
||||||
# select MC-{fileName}-Extended-tot@{fileName}
|
# select MC-{fileName}-Extended-tot@{fileName}
|
||||||
|
|
||||||
## Export des fichiers pdf, plan et coupe.
|
## Export des fichiers pdf, plan et coupe.
|
||||||
## ATTENTION, la topo étant énorme, il faut mettre l'option ne traçant pas la centerline !
|
## ATTENTION, la topo étant énorme, il faut mettre l'option ne traçant pas la centerline !
|
||||||
# export map -projection plan -fmt pdf -layout layout-Plan -o Outputs/{fileName}-Plan.pdf
|
# export map -projection plan -fmt pdf -layout layout-Plan -o Outputs/{fileName}-Plan.pdf
|
||||||
# export map -projection extended -fmt pdf -layout layout-Extended -o Outputs/{fileName}-Extended.pdf
|
# export map -projection extended -fmt pdf -layout layout-Extended -o Outputs/{fileName}-Extended.pdf
|
||||||
|
|
||||||
## Export du fichier 3d pour Loch
|
## Export du fichier 3d pour Loch
|
||||||
export model -enable all -o Outputs/{fileName}.lox
|
export model -enable all -o Outputs/{fileName}.lox
|
||||||
# export model -enable all -o Outputs/{fileName}.kml
|
# export model -enable all -o Outputs/{fileName}.kml
|
||||||
# export model -enable all -o Outputs/{fileName}.plt
|
# export model -enable all -o Outputs/{fileName}.plt
|
||||||
|
|
||||||
## Export des fichiers ESRI
|
## Export des fichiers ESRI
|
||||||
# export map -proj plan -fmt esri -o Outputs/{fileName}
|
# export map -proj plan -fmt esri -o Outputs/{fileName}
|
||||||
# export model -fmt esri -o Outputs/SHP/therion -enc UTF-8
|
# export model -fmt esri -o Outputs/SHP/therion -enc UTF-8
|
||||||
|
|
||||||
## Autres exports
|
## Autres exports
|
||||||
# export map -proj plan -fmt kml -o Outputs/{fileName}.kml -layout layout-kml
|
# export map -proj plan -fmt kml -o Outputs/{fileName}.kml -layout layout-kml
|
||||||
# export model -fmt kml -o Outputs/{fileName}-model.kml -enable all
|
# export model -fmt kml -o Outputs/{fileName}-model.kml -enable all
|
||||||
# export model -enable all -o Outputs/{fileName}-3D.kml
|
# export model -enable all -o Outputs/{fileName}-3D.kml
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Author = Alexandre Pont
|
|||||||
Copyright1 = # Copyright (C) ARSIP 2025
|
Copyright1 = # Copyright (C) ARSIP 2025
|
||||||
Copyright2 = # This work is under the Creative Commons Attribution-NonCommercial-NoDerivatives License:
|
Copyright2 = # This work is under the Creative Commons Attribution-NonCommercial-NoDerivatives License:
|
||||||
Copyright3 = # <http://creativecommons.org/licenses/by-nc-nd/4.0/>
|
Copyright3 = # <http://creativecommons.org/licenses/by-nc-nd/4.0/>
|
||||||
Copyright_Short = Licence CC by-nc-nd : http://creativecommons.org/licenses/by-nc-nd/4.0/
|
Copyright_Short = License CC by-nc-nd : http://creativecommons.org/licenses/by-nc-nd/4.0/
|
||||||
map_comment = Massif de la Pierre Saint Martin - Larra
|
map_comment = Massif de la Pierre Saint Martin - Larra
|
||||||
club = ARSIP
|
club = ARSIP
|
||||||
thanksto = Merci à tout le monde
|
thanksto = Merci à tout le monde
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ En cours :
|
|||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
Version = "2025.07.04"
|
Version = "2025.08.27"
|
||||||
|
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
#################################################################################################
|
#################################################################################################
|
||||||
@@ -2900,7 +2900,7 @@ if __name__ == u'__main__':
|
|||||||
args.file = select_file_tk_window()
|
args.file = select_file_tk_window()
|
||||||
# print(f"Selected file : {args.file}")
|
# print(f"Selected file : {args.file}")
|
||||||
|
|
||||||
output_log = splitext(abspath(args.file))[0]+".log"
|
output_log = splitext(abspath(args.file))[0] + ".log"
|
||||||
log = setup_logger(output_log, debug_log)
|
log = setup_logger(output_log, debug_log)
|
||||||
|
|
||||||
# log.debug("Ceci est un message de debug")
|
# log.debug("Ceci est un message de debug")
|
||||||
@@ -3107,8 +3107,6 @@ if __name__ == u'__main__':
|
|||||||
if os.path.isfile(destination_file):
|
if os.path.isfile(destination_file):
|
||||||
os.remove(destination_file)
|
os.remove(destination_file)
|
||||||
|
|
||||||
shutil.move(output_log, destination_path)
|
if not args.update :
|
||||||
|
shutil.move(output_log, destination_path)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user