added initial profiles switch implementation
[stack/code/dboxswitch.git] / profhandler.py
index 1008c4b..760f45f 100755 (executable)
@@ -94,7 +94,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):