Skip to content

Commit

Permalink
dirty fix of unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinp72 committed Jun 28, 2024
1 parent 532c2a2 commit 9002a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ina_speech_segmenter_pyro_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def set_jobs(self, csvjobs):
self.lsource = list(df.source_path)
self.ldest = list(df.dest_path)
self.i = 0
return '%s jobs have been set' % csvjobs.name
return '%s jobs have been set' % csvjobs

def get_job(self, msg):
print('job %d: %s' % (self.i, msg))
Expand Down Expand Up @@ -90,7 +90,7 @@ def has_more_jobs(self):
Pyro4.config.HOST = args.host

with Pyro4.Daemon() as daemon:
server = GenderJobServer(args.csvjobs)
server = GenderJobServer(args.csvjobs.name)
uri = daemon.register(server) # register the greeting maker as a Pyro object\n",
print("Ready. Object uri =", uri)

Expand Down

0 comments on commit 9002a22

Please sign in to comment.