Gui activate profile action
[stack/code/dboxswitch.git] / profhandler.py
index 1008c4b..3d3060f 100755 (executable)
@@ -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):