renamed error message in profhandler
authorstack <stack@inventati.org>
Sun, 8 Jul 2012 16:14:49 +0000 (18:14 +0200)
committerstack <stack@inventati.org>
Sun, 8 Jul 2012 16:14:49 +0000 (18:14 +0200)
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:
         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):
         print("Profile "+profileName+" created.")
 
     def delProfile(self, profileName):