mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Fixed bool checks
This commit is contained in:
1 parent
bad2ec7e8b
commit
c0e34bb42b
1 file changed
+1
-1
+1
-1
@@ -25,7 +25,7 @@ def convert_to_bool(in_bool):
|
|||||||
return in_bool
|
return in_bool
|
||||||
else:
|
else:
|
||||||
value = str(in_bool).lower()
|
value = str(in_bool).lower()
|
||||||
return value not in ('false', 'off', '0')
|
return value not in ('false', 'off', '0', 0)
|
||||||
|
|
||||||
# Replace your getenv calls with appropriate default values here
|
# Replace your getenv calls with appropriate default values here
|
||||||
plextoken = os.getenv('PLEXTOKEN', 'token here')
|
plextoken = os.getenv('PLEXTOKEN', 'token here')
|
||||||
|
|||||||
Reference in new issue
Block a user