SPARC64 commited on
Commit
7f00dad
Β·
verified Β·
1 Parent(s): 3010fa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def export_results(results, search_condition):
81
  if not results:
82
  return None, "エラー: γ‚¨γ‚―γ‚ΉγƒγƒΌγƒˆγ™γ‚‹γƒ‡γƒΌγ‚ΏγŒγ‚γ‚ŠγΎγ›γ‚“γ€‚"
83
 
84
- filename = f"search_results_{datetime.now(JST).strftime('%Y%m%d_%H%M%S')}.txt"
85
  file_path = os.path.join("/tmp", filename)
86
 
87
  execution_date = datetime.now(JST).strftime("%Y/%m/%d %H:%M:%S")
 
81
  if not results:
82
  return None, "エラー: γ‚¨γ‚―γ‚ΉγƒγƒΌγƒˆγ™γ‚‹γƒ‡γƒΌγ‚ΏγŒγ‚γ‚ŠγΎγ›γ‚“γ€‚"
83
 
84
+ filename = f"search_results_{datetime.now(JST).strftime('%Y-%m-%d_%H-%M-%S')}.txt"
85
  file_path = os.path.join("/tmp", filename)
86
 
87
  execution_date = datetime.now(JST).strftime("%Y/%m/%d %H:%M:%S")