##// END OF EJS Templates
changes to integrate to the web interface
imanay -
r141:142
parent child
Show More
@@ -40,10 +40,7
40 40 No newline at end of file
41 41 def sendFile(self, filename): No newline at end of file
42 42
43 No newline at end of file
43 # data = self.abs2ControlModuleFormatFile(filename)
No newline at end of file
44 tmp = self.__readFile(filename)
No newline at end of file
45 #Sending content of file and the file name
No newline at end of file
46 data = filename + '\n' + tmp No newline at end of file
47 44 self.__ConnectionWithCentralControl(cmd = "SNDF", data = data) No newline at end of file
48 45 No newline at end of file
49 46 def changeBeam(self, newBeam): No newline at end of file
@@ -145,6 +145,7
145 145 def __sendFile2Modules(self,cmd): No newline at end of file
146 146 No newline at end of file
147 147 rx_buffer_lst = self.rx_buffer.split('\n',1) No newline at end of file
148 #Getting the filename from the begining of data No newline at end of file
148 149 filename = rx_buffer_lst[0] No newline at end of file
149 150 tmp = rx_buffer_lst[1] No newline at end of file
150 151 self.__writeFile(filename,tmp) No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now