added qbittorrent-python
This commit is contained in:
1 parent
f5aae23111
commit
42e3c95f87
6 files changed
+180
No files matched your search
@@ -0,0 +1,7 @@
|
||||
def try_convert(value, to_type, default=None):
|
||||
try:
|
||||
return to_type(value)
|
||||
except ValueError:
|
||||
return default
|
||||
except TypeError:
|
||||
return default
|
||||
Reference in new issue
Block a user