Changeset 3950


Ignore:
Timestamp:
Mar 15, 2017, 12:12:41 PM (2 years ago)
Author:
Juanma
Message:

Adapted for reflect the changes to TeacherShare? module (>=0.86)

Location:
lliurex-homework-harvester/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • lliurex-homework-harvester/trunk/fuentes/debian/changelog

    r3511 r3950  
     1lliurex-homework-harvester (0.9.1) xenial; urgency=medium
     2
     3  * Adapted for reflect the changes to TeacherShare module (>=0.86)
     4
     5 -- Juanma Navarro Mañez <juanma1980@gmail.com>  Wed, 15 Mar 2017 12:07:14 +0100
     6
    17lliurex-homework-harvester (0.9) xenial; urgency=high
    28
  • lliurex-homework-harvester/trunk/fuentes/install-files/usr/bin/lliurex-homework-harvester

    r2093 r3950  
    168168                if self.ip!=None:
    169169                        user_info=(self.user,self.password_entry.get_text())
    170                         tmp_server=ServerProxy("https://localhost:9779")
     170                        tmp_server=ServerProxy("https://"+self.ip+":9779")
    171171                        #port=tmp_server.request_socket(user_info,"SocketManager",self.user,True,self.path)
    172172                        #tmp_server.start_socket(user_info,"SocketManager",port)
    173173                        ret=self.server.add_path(user_info,"TeacherShareManager",self.user,self.path,self.name_entry.get_text(),self.ip,0)
    174                         print ret
     174                        #Register user credentials
     175                        if ret:
     176                                tmp_server.register_share_info(user_info,"TeacherShare",user_info[0],user_info[1],self.path)
    175177                        return ret
    176178                else:
Note: See TracChangeset for help on using the changeset viewer.