OSDN Git Service

Fix: cannot jump on uri click
authorAiwota Programmer <aiwotaprog@tetteke.tk>
Tue, 11 Dec 2007 15:39:48 +0000 (00:39 +0900)
committerAiwota Programmer <aiwotaprog@tetteke.tk>
Tue, 11 Dec 2007 15:39:48 +0000 (00:39 +0900)
src/FukuiNoNamari/thread_window.py

index bdcca76..5a114f9 100644 (file)
@@ -74,10 +74,10 @@ def open_thread(uri, update=False):
         winwrap.load(update)
 
     # jump to the res if necessary.
-    strict_uri = winwrap.bbs_type.get_thread_uri()
-    if (winwrap.bbs_type.uri != strict_uri and
-        winwrap.bbs_type.uri.startswith(strict_uri)):
-        resnum = winwrap.bbs_type.uri[len(strict_uri):]
+    strict_uri = bbs_type.get_thread_uri()
+    if (bbs_type.uri != strict_uri and
+        bbs_type.uri.startswith(strict_uri)):
+        resnum = bbs_type.uri[len(strict_uri):]
         match = re.match("\d+", resnum)
         if match:
             resnum = int(match.group())