Commits

Osiloke Emoekpere committed fb94c42

Fixed error with arguments for bootstrap_virtualmin

Comments (0)

Files changed (2)

bootstrap_virtualmin.py

 			#We want to deploy a django based website
 			from author import UserDetails
 			from automator import Automator
-			a = Automator(kwargs["action"], UserDetails(**user_vars))
+			a = Automator(kwargs["action"], user=UserDetails(**user_vars))
 		"This should be the entry type"
 		keys = servervars.entry_points[args[0]] 
 		user_vars = {keys[key]:value for key, value in kwargs.items() if key in keys}
+		from author import UserDetails
 		from automator import Automator
-		a = Automator("deploy", **user_vars)
+		a = Automator("deploy", user=UserDetails(**user_vars))