Modify context reload for better maintainability
This commit is contained in:
parent
4dd837cf4b
commit
4776fbe931
7 changed files with 83 additions and 16 deletions
|
|
@ -31,3 +31,14 @@ def ipToInt(ip):
|
|||
for b in ip.split("."):
|
||||
sum = 256 * sum + int(b)
|
||||
return sum
|
||||
|
||||
|
||||
def reload():
|
||||
import tools.countdown
|
||||
imp.reload(tools.countdown)
|
||||
|
||||
import tools.date
|
||||
imp.reload(tools.date)
|
||||
|
||||
import tools.web
|
||||
imp.reload(tools.web)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue