Skip to content
This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Commit a93aab7

Browse files
committedMay 22, 2015
Update tools
1 parent 2f99b5b commit a93aab7

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed
 

‎create_lists.py

+1
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
except:
2626
version = 1
2727
scripts.append('%s,%s,%s' % (basename, version, name))
28+
scripts = sorted( scripts )
2829
with open('scripts/list.txt', 'w') as f:
2930
f.write('\n'.join(scripts))
3031

‎help_converter.py

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
import processing
1+
import glob
22
import pickle
33
import json
44

5-
for filename in glob.glob('D:/github/processing/scripts/*.help'):
5+
for filename in glob.glob('scripts/*.help'):
66
with open(filename, 'rb') as f:
7-
descriptions = pickle.load(f)
8-
with open(filename, 'w') as f:
9-
f.write(json.dumps(descriptions))
7+
try:
8+
descriptions = pickle.load(f)
9+
with open(filename, 'w') as f:
10+
f.write(json.dumps(descriptions))
11+
except :
12+
pass

0 commit comments

Comments
 (0)
This repository has been archived.