prof.name.first -> prof.name.first_middle in prof/import.py
authorW. Trevor King <wking@drexel.edu>
Tue, 29 Jun 2010 21:07:11 +0000 (17:07 -0400)
committerW. Trevor King <wking@drexel.edu>
Tue, 29 Jun 2010 21:07:11 +0000 (17:07 -0400)
sitecore/prof/import.py

index 4848815c17430657574eded213b5ee1baabd5f94..18da8a706a4f0f300ec249f1ee2f9c9c1dbd159f 100644 (file)
@@ -70,7 +70,7 @@ class ProfessorAdder (object):
         name.clear()
         name.send_keys(
             '/sitecore/content/Home/physics/contact/facultyDirectory/%s %s'
-            % (prof.name.first, prof.name.last))
+            % (prof.name.first_middle, prof.name.last))
         self.s.w.find_element_by_link_text('Copy').click()
         time.sleep(self.s.wait_time)
         current_window = self.s.w.get_current_window_handle()