]> git.armaanb.net Git - lightcards.git/blobdiff - lightcards/runner.py
Remove CursesError exception
[lightcards.git] / lightcards / runner.py
index 0bd560072b3b2720afd77d795db3f2bd9bf8ac33..40b5b15f25673e0f2c4599ebb950249a35f98977 100644 (file)
@@ -8,7 +8,7 @@ from random import shuffle
 import sys
 
 from . import parse, progress, config
-from .display import Display, CursesError
+from .display import Display
 from .deck import Status
 
 
@@ -108,7 +108,7 @@ def show(args, stack, headers, conf):
     try:
         curses.wrapper(win.run)
     except curses.error as e:
-        raise CursesError() from e
+        raise e
 
 
 def get_orig():