Skip to content

Commit

Permalink
Fix buffer issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiaohuba committed Dec 8, 2023
1 parent abf29ef commit 852ae6d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import json, argparse, os, shutil, random
import json, argparse, os, shutil, random, sys
import utils

parser = argparse.ArgumentParser(description="Parse Lemonlime conf files(.cdf)")
Expand Down Expand Up @@ -138,7 +138,8 @@
print(f"ERROR: Failed to attach statement!\nException is {exp}")
attach_statement = False
if create_zip:
print(f"INFO: creating zipfile for task `{taskname}`...", end="")
print(f"INFO: creating zipfile for task `{taskname}`...", end=" ")
sys.stdout.flush()
utils.zipProblem(os.path.join("to_uoj", taskname))
print(f"done.")
print("\n=======\n")
Expand Down

0 comments on commit 852ae6d

Please sign in to comment.