switched from argparse to getopt for compatibility with Python 2.6
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user