Fix capital char

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2017-10-07 22:12:45 +02:00
parent 30979bf5b1
commit eb5d09d962

View file

@ -34,7 +34,7 @@ def slack_ver():
"""
slackware_version = _meta_.slackware_version
if slackware_version == "off":
if slackware_version == "off" or slackware_version == "OFF":
sv = Utils().read_file("/etc/slackware-version")
version = re.findall(r"\d+", sv)
if len(sv) > 2: