py3: config string params fix.

Merged Andrey Vertiprahov requested to merge noc-py3-settings-params into master

Fix set value as bytes.

Traceback (most recent call last):
  File "./services/classifier/", line 28, in <module>
    from import FailedEvent
  File "/opt/noc/fm/models/", line 20, in <module>
    from import ManagedObject
  File "/opt/noc/sa/models/", line 40, in <module>
    from import User
  File "/opt/noc/aaa/models/", line 27, in <module>
    from noc.settings import LANGUAGES
  File "/opt/noc/", line 38, in <module>
  File "/opt/noc/core/config/", line 237, in __get__
  File "/opt/noc/core/config/", line 251, in resolve
    if isinstance(, list) and ":" in[0]:
TypeError: a bytes-like object is required, not 'str'
Edited by Andrey Vertiprahov

Merge request reports