forked from platypush/platypush
Expand rawrgb_path to support relative paths and user prefix
This commit is contained in:
parent
755c8b52ec
commit
c6384b3b65
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ class CameraIrMlx90640Plugin(Plugin):
|
||||||
|
|
||||||
if not rawrgb_path:
|
if not rawrgb_path:
|
||||||
rawrgb_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib', 'examples', 'rawrgb')
|
rawrgb_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'lib', 'examples', 'rawrgb')
|
||||||
|
rawrgb_path = os.path.abspath(os.path.expanduser(rawrgb_path))
|
||||||
|
|
||||||
assert fps > 0
|
assert fps > 0
|
||||||
assert skip_frames >= 0
|
assert skip_frames >= 0
|
||||||
|
|
Loading…
Reference in a new issue