Skip to content

Commit

Permalink
fixed bug in import and also added another mock for readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
amymcgovern committed Jun 1, 2018
1 parent 4f39492 commit e59d3a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __getattr__(cls, name):


MOCK_MODULES = ['numpy', 'scipy', 'zeroconf', 'cv2', 'untangle', 'bluepy', 'bluepy.btle',
'ipaddress', 'queue', 'http.server']
'ipaddress', 'queue', 'http.server', 'PyQt5']
sys.modules.update((mod_name, Mock()) for mod_name in MOCK_MODULES)

sys.path.insert(0, os.path.abspath('..'))
Expand Down
2 changes: 1 addition & 1 deletion pyparrot/networking/bleConnection.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from pyparrot.utils.colorPrint import color_print
import struct
import time
from pyparrot.commandsandsensors import get_data_format_and_size
from pyparrot.commandsandsensors.DroneSensorParser import get_data_format_and_size
from datetime import datetime

class MamboDelegate(DefaultDelegate):
Expand Down

0 comments on commit e59d3a3

Please sign in to comment.