We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method ls raise FileNotFoundError when trying to get other directories than root
FileNotFoundError
#!/usr/bin/python3 -u import technisat ts = technisat.Technisat() try: ts.connect("192.168.1.2", 2376) except Exception as e: print(e) exit(1) print(ts.ls(directory="/recordings")) ts.disconnect()
#!/usr/bin/python3 -u import technisat ts = technisat.Technisat() try: ts.connect("192.168.1.2", 2376) except Exception as e: print(e) exit(1) print(ts.ls()) ts.disconnect()
Output {'recordings': {}, 'music': {}, 'pictures': {}, 'video': {}}
Line 145 if d in current_dir fails since current_dir contains an empty dict.
if d in current_dir
current_dir
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Method ls raise
FileNotFoundError
when trying to get other directories than rootTo Reproduce
quering root directory works as expected
Output
{'recordings': {}, 'music': {}, 'pictures': {}, 'video': {}}
BUG hint
Line 145
if d in current_dir
fails sincecurrent_dir
contains an empty dict.The text was updated successfully, but these errors were encountered: