Skip to content
Snippets Groups Projects
Commit 8208ecf9 authored by juergen's avatar juergen
Browse files

allowing also capital suffixes for images and changing windows downloas information

git-svn-id: https://dng.biozentrum.unibas.ch/svn/openstructure/trunk@2387 5a81b35b-ba03-0410-adc8-b2c5c5119f08
parent 2de21f55
Branches
Tags
No related merge requests found
......@@ -119,7 +119,10 @@ def copy_images(opts, dirname, names):
base_dir=dirname[len(opts.input_dir)+1:]
out_dir=os.path.join(opts.output_dir, base_dir)
for name in names:
if name.endswith('.jpg') or name.endswith('.png'):
if name.endswith('.jpg') or\
name.endswith('.JPG') or\
name.endswith('.png') or\
name.endswith('.PNG'):
shutil.copy(os.path.join(dirname,name), os.path.join(out_dir,name))
if not os.path.exists(opts.output_dir):
......@@ -149,4 +152,4 @@ if not os.path.exists(opts.doxy_ref_file):
CreateExampleIndex('html/dox/html/examples.html', 'examples_index.txt')
load_doxy_refs()
os.path.walk(opts.input_dir, mkdown_to_html, opts)
os.path.walk(opts.input_dir, copy_images, opts)
\ No newline at end of file
os.path.walk(opts.input_dir, copy_images, opts)
......@@ -6,8 +6,8 @@ title: Download
Please choose your platform
* [Windows XP](windowsdownload.html)
* [Windows](windowsdownload.html)
* [MacOS X 10.5 and 10.6](macdownload.html)
* [Linux](linuxdownload.html)
\ No newline at end of file
......@@ -12,5 +12,5 @@ OpenStructure is released under the <a target="extern" href="http://www.gnu.org
* Located in the same directory is also ***ost.bat*** a command line interface to the openstructure framework.
## Supported Windows Platforms
Currently we only truely support Windows XP.
Currently we only offer a 32bit Windows version.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment