Skip to content

Commit

Permalink
Uses explicit relative imports for SoftU2FDevice
Browse files Browse the repository at this point in the history
Python 3.x makes absolute imports the default.
  • Loading branch information
moreati committed Jan 25, 2016
1 parent 20bf1d1 commit 142f5a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_u2f_highlevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# POSSIBILITY OF SUCH DAMAGE.

from u2flib_server import u2f
from soft_u2f_v2 import SoftU2FDevice
from .soft_u2f_v2 import SoftU2FDevice
import unittest

APP_ID = 'https://www.example.com'
Expand Down
2 changes: 1 addition & 1 deletion test/test_u2f_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
# POSSIBILITY OF SUCH DAMAGE.

from u2flib_server import u2f_v2 as u2f
from soft_u2f_v2 import SoftU2FDevice
from .soft_u2f_v2 import SoftU2FDevice
import unittest

APP_ID = 'http://www.example.com/appid'
Expand Down

0 comments on commit 142f5a8

Please sign in to comment.