diff --git a/cps/helper.py b/cps/helper.py index 9d3b32903..f2fe75725 100644 --- a/cps/helper.py +++ b/cps/helper.py @@ -555,6 +555,7 @@ def check_unrar(unrarLocation): try: if sys.version_info < (3, 0): unrarLocation = unrarLocation.encode(sys.getfilesystemencoding()) + unrarLocation = [unrarLocation] for lines in process_wait(unrarLocation): value = re.search('UNRAR (.*) freeware', lines) if value: diff --git a/cps/templates/config_edit.html b/cps/templates/config_edit.html index 90edbb5a5..4a5b154d0 100644 --- a/cps/templates/config_edit.html +++ b/cps/templates/config_edit.html @@ -269,20 +269,6 @@ {% endfor %} - - {% endif %} {% endif %}