Commit fa7d4e87 authored by lixiaofang's avatar lixiaofang

add

parent b1bc9d03
......@@ -46,7 +46,7 @@ def write_id_file(id):
data.write("/n")
except:
pass
logging.error("catch exception,main:%s" % traceback.format_exc())
if __name__ == "__main__":
......
......@@ -21,6 +21,7 @@ def write_id_file():
return user_ids
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
return []
......
......@@ -17,10 +17,11 @@ def write_id_file():
data.truncate()
return user_ids
except:
logging.error("catch exception,main:%s" % traceback.format_exc())
return []
if __name__ == "__main__":
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment