Skip to content

Commit

Permalink
Fix device namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaiter committed Aug 24, 2013
1 parent 73ba566 commit 9ee7cd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
],
entry_points={
'spreadsplug.devices': [
'chdkcamera = spreadsplug.chdkcamera:CHDKCameraDevice',
'a2200 = spreadsplug.chdkcamera:CanonA2200CameraDevice',
'chdkcamera = spreadsplug.dev.chdkcamera:CHDKCameraDevice',
'a2200 = spreadsplug.dev.chdkcamera:CanonA2200CameraDevice',
],
'spreadsplug.hooks': [
'combine = spreadsplug.combine:CombinePlugin',
Expand Down
2 changes: 1 addition & 1 deletion spreads/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def output(self, path):
# Load drivers for all supported devices
def get_devicemanager():
logger.debug("Creating device manager")
return ExtensionManager(namespace='spreadsplug.devices')
return ExtensionManager(namespace='spreadsplug.devices.dev')

# Poor man's memoization...
_pluginmanager = None
Expand Down

1 comment on commit 9ee7cd0

@markvdb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #14

Please sign in to comment.