We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ded47f6 commit 599ac45Copy full SHA for 599ac45
update-bookmarks.py
@@ -18,8 +18,6 @@
18
# https://wiki.freenetproject.org/FCPv2/GetFailed#Fetch_Error_Codes
19
REDIRECT = 27
20
21
-node = fcp.node.FCPNode(host=args.host, port=args.port)
22
-
23
with open(args.path) as bookmark_file:
24
bookmarks = bookmark_file.readlines()
25
@@ -28,6 +26,7 @@
28
26
if line and line != "End\n":
29
27
key, value = line.split("=", 1)
30
if key.endswith("URI"):
+ node = fcp.node.FCPNode(host=args.host, port=args.port)
31
try:
32
# readlines() lines end with a newline.
33
uri = value.rstrip()
0 commit comments