Opened 8 years ago
Closed 8 years ago
#133 closed defect (fixed)
Clear last logFile when restart software
Reported by: | yanll | Owned by: | yanll |
---|---|---|---|
Priority: | minor | Milestone: | alpa |
Component: | viewer | Version: | 0.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Parent ID: | Parent Tickets: | ||
Estimated Number of Hours: | 0.0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Description (last modified by yanll)
viewer/logWindow.py
if os.path.exists('./log/GPPD.log'):
with open("./log/GPPD.log","w"):
os.remove("./log/GPPD.log")
_f=open("./log/GPPD.log", "w")
_f.close()
Subtickets
Change History (1)
comment:1 Changed 8 years ago by yanll
- Description modified (diff)
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.