Skip to content

Commit

Permalink
use ImportError instead of ModuleNotFoundError to compatible with py3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
wang0618 committed Apr 2, 2020
1 parent 374f1a7 commit 4c81f06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywebio/platform/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@

try:
from . import flask
except ModuleNotFoundError:
except ImportError:
pass

0 comments on commit 4c81f06

Please sign in to comment.