X-Git-Url: https://v.licheni.net/stack/code/dboxswitch.git/blobdiff_plain/a529dbf810e21c26237889bcc20777f967c8cc3a..ba2d0ed5c1e067a34a4c6de1dcd9fbe86d35e34a:/profhandler.py diff --git a/profhandler.py b/profhandler.py index 1008c4b..3d3060f 100755 --- a/profhandler.py +++ b/profhandler.py @@ -1,4 +1,3 @@ -#!/usr/bin/python # -*- coding: utf-8 -*- """ @@ -94,7 +93,7 @@ class ProfHandler(): if self.isValidProfileName(profileName): os.makedirs(os.path.join(self.getProfileFolder(), profileName)) else: - raise AppError('Profile Name not valid') + raise AppError('Profile Name not valid.\nAllowed only ascii characters.') print("Profile "+profileName+" created.") def delProfile(self, profileName):