OSDN Git Service
(root)
/
fukui-no-namari
/
fukui-no-namari.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add an update option to uri_opener.
[fukui-no-namari/fukui-no-namari.git]
/
src
/
Hage1
/
uri_opener.py
diff --git
a/src/Hage1/uri_opener.py
b/src/Hage1/uri_opener.py
index
41b81d5
..
a279bc8
100644
(file)
--- a/
src/Hage1/uri_opener.py
+++ b/
src/Hage1/uri_opener.py
@@
-19,11
+19,11
@@
import board_window
import thread_window
from BbsType import bbs_type_judge_uri
import thread_window
from BbsType import bbs_type_judge_uri
-def open_uri(uri):
+def open_uri(uri
, update=False
):
bbs_type = bbs_type_judge_uri.get_type(uri)
if bbs_type.is_board():
bbs_type = bbs_type_judge_uri.get_type(uri)
if bbs_type.is_board():
- board_window.open_board(uri)
+ board_window.open_board(uri
, update
)
elif bbs_type.is_thread():
elif bbs_type.is_thread():
- thread_window.open_thread(uri)
+ thread_window.open_thread(uri
, update
)
else:
print "the uri represents neither board nor thread: ", uri
else:
print "the uri represents neither board nor thread: ", uri