switched from argparse to getopt for compatibility with Python 2.6

This commit is contained in:
Alexander Mordvintsev
2011-06-11 21:11:02 +00:00
parent 8f4c7db3f6
commit b6c19d365f
3 changed files with 39 additions and 28 deletions

View File

@@ -3,7 +3,7 @@ import video
import sys
try: fn = sys.argv[1]
except: fn = 'synth:bg=../cpp/lena.jpg:noise=0.1'
except: fn = video.presets['lena']
def nothing(*arg):
pass