equal
deleted
inserted
replaced
61 try: |
61 try: |
62 import curses |
62 import curses |
63 import curses.ascii |
63 import curses.ascii |
64 |
64 |
65 curses.error |
65 curses.error |
66 except ImportError: |
66 except (ImportError, AttributeError): |
67 # I have no idea if wcurses works with crecord... |
67 # I have no idea if wcurses works with crecord... |
68 try: |
68 try: |
69 import wcurses as curses |
69 import wcurses as curses |
70 |
70 |
71 curses.error |
71 curses.error |
72 except ImportError: |
72 except (ImportError, AttributeError): |
73 # wcurses is not shipped on Windows by default, or python is not |
73 # wcurses is not shipped on Windows by default, or python is not |
74 # compiled with curses |
74 # compiled with curses |
75 curses = False |
75 curses = False |
76 |
76 |
77 |
77 |