svgconvert.sh ruft svgconvert.py auf, generationlib entfernt
- bin/svgconvert.sh ist jetzt ein Wrapper wie svgconvert.bat (gleiche Optionen unter Linux und Windows) - svgconvert.py: Endung .cfg/.csv bei -c/-i optional - bin/generationlib (nur von svgconvert.sh benutzt) entfernt - doc/README.md angepasst Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
29c066b45a
commit
28f2bcdb32
+3
-2
@@ -17,6 +17,7 @@ import csv
|
||||
from string import Template
|
||||
from concurrent import futures
|
||||
from progressbar import EasyProgressBar
|
||||
from utils import CompleteEnding
|
||||
|
||||
|
||||
# ImageMagick 7 heisst "magick"; unter Windows ist "convert" ein Systemprogramm
|
||||
@@ -154,7 +155,7 @@ def main():
|
||||
filelist = getfilelist(work_path)
|
||||
#load and override the default config if we receive an config file
|
||||
if options.config:
|
||||
config_path = os.path.expandvars(os.path.join('$PICCREATE_CFG', options.config))
|
||||
config_path = os.path.expandvars(os.path.join('$PICCREATE_CFG', CompleteEnding(options.config, 'cfg')))
|
||||
if not os.path.exists(config_path):
|
||||
print('\"'+ config_path +'\" does not exist. Please give the name of a config file!')
|
||||
return None
|
||||
@@ -175,7 +176,7 @@ def main():
|
||||
pic_config['customerid'] = origin
|
||||
#chek if all files from the csv were successfully created and in the workfolder
|
||||
if options.infile:
|
||||
csv_path = os.path.expandvars(os.path.join('$PICCREATE_IN', options.infile))
|
||||
csv_path = os.path.expandvars(os.path.join('$PICCREATE_IN', CompleteEnding(options.infile, 'csv')))
|
||||
if not os.path.exists(csv_path):
|
||||
print('\"'+ csv_path +'\" does not exist. Please give the correct name of a csv file!')
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user