mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-22 12:33:10 +00:00
fix for #55
This commit is contained in:
parent
a11d2fbdf7
commit
1a3b224244
1 changed files with 4 additions and 1 deletions
|
@ -121,7 +121,10 @@ class Config:
|
||||||
return default
|
return default
|
||||||
elif var_type == "path" and default:
|
elif var_type == "path" and default:
|
||||||
default = None
|
default = None
|
||||||
|
if attribute in data and data[attribute]:
|
||||||
message = "neither {} or the default path {} could be found".format(data[attribute], default)
|
message = "neither {} or the default path {} could be found".format(data[attribute], default)
|
||||||
|
else:
|
||||||
|
message = "no {} found and the default path {} could be found".format(text, default)
|
||||||
if default is not None or default_is_none:
|
if default is not None or default_is_none:
|
||||||
message = message + " using {} as default".format(default)
|
message = message + " using {} as default".format(default)
|
||||||
message = message + endline
|
message = message + endline
|
||||||
|
|
Loading…
Reference in a new issue