Beracles commited on
Commit
d071f60
·
1 Parent(s): 58a7ac0

push at once when refresh

Browse files
Files changed (1) hide show
  1. logging_helper.py +1 -1
logging_helper.py CHANGED
@@ -189,7 +189,7 @@ class LoggingHelper:
189
  self.scheduler.start()
190
 
191
  def refresh(self) -> list[dict]:
192
- self.download()
193
  files = glob.glob("**/*.json", root_dir=self.local_dir, recursive=True)
194
  filepathes = [os.sep.join([self.local_dir, file]) for file in files]
195
  datasets = []
 
189
  self.scheduler.start()
190
 
191
  def refresh(self) -> list[dict]:
192
+ self.push()
193
  files = glob.glob("**/*.json", root_dir=self.local_dir, recursive=True)
194
  filepathes = [os.sep.join([self.local_dir, file]) for file in files]
195
  datasets = []