prompt: You will be provided with a partial code base and an issue statement explaining a problem to resolve.
  <issue>
  HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' 
  03.08.2015 20:46:43 INFO    Free space: 6.48 TiB
  630 03.08.2015 20:46:43 INFO    Activating Accounts...
  631 03.08.2015 20:46:43 INFO    Activating Plugins...
  632 03.08.2015 20:46:43 WARNING HOOK AntiStandby: Unable to change system power state | [Errno 2] No such file or directory
  633 03.08.2015 20:46:43 WARNING HOOK AntiStandby: Unable to change display power state | [Errno 2] No such file or directory
  634 03.08.2015 20:46:43 INFO    HOOK XFileSharingPro: Handling any hoster I can!
  635 03.08.2015 20:46:43 WARNING HOOK UpdateManager: Unable to retrieve server to get updates
  636 03.08.2015 20:46:43 INFO    HOOK XFileSharingPro: Handling any crypter I can!
  637 03.08.2015 20:46:43 INFO    pyLoad is up and running
  638 03.08.2015 20:46:45 INFO    HOOK LinkdecrypterCom: Reloading supported crypter list
  639 03.08.2015 20:46:45 WARNING HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' | Waiting 1 minute and retry
  640 03.08.2015 20:46:53 INFO    HOOK ClickAndLoad: Proxy listening on 127.0.0.1:9666
  641 03.08.2015 20:46:53 INFO    HOOK LinkdecrypterCom: Reloading supported crypter list
  642 03.08.2015 20:46:53 WARNING HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' | Waiting 1 minute and retry
  643 03.08.2015 20:47:45 WARNING HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' | Waiting 1 minute and retry
  644 03.08.2015 20:47:53 WARNING HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' | Waiting 1 minute and retry
  
  
  </issue>
  <code>
  [start of module/plugins/hooks/LinkdecrypterComHook.py]
  1 # -*- coding: utf-8 -*-
  2 
  3 import re
  4 
  5 from module.plugins.internal.MultiHook import MultiHook
  6 
  7 
  8 class LinkdecrypterComHook(MultiHook):
  9     __name__    = "LinkdecrypterComHook"
  10     __type__    = "hook"
  11     __version__ = "1.07"
  12     __status__  = "testing"
  13 
  14     __config__ = [("activated"     , "bool"               , "Activated"                    , True ),
  15                   ("pluginmode"    , "all;listed;unlisted", "Use for plugins"              , "all"),
  16                   ("pluginlist"    , "str"                , "Plugin list (comma separated)", ""   ),
  17                   ("reload"        , "bool"               , "Reload plugin list"           , True ),
  18                   ("reloadinterval", "int"                , "Reload interval in hours"     , 12   )]
  19 
  20     __description__ = """Linkdecrypter.com hook plugin"""
  21     __license__     = "GPLv3"
  22     __authors__     = [("Walter Purcaro", "vuolter@gmail.com")]
  23 
  24 
  25     def get_hosters(self):
  26         list = re.search(r'>Supported\(\d+\)</b>: <i>(.[\w.\-, ]+)',
  27                          self.load("http://linkdecrypter.com/").replace("(g)", "")).group(1).split(', ')
  28         try:
  29             list.remove("download.serienjunkies.org")
  30         except ValueError:
  31             pass
  32 
  33         return list
  34
  [end of module/plugins/hooks/LinkdecrypterComHook.py]
  </code>
  
  I need you to solve this issue by generating a single patch file that I can apply directly to this repository using git apply. Please respond with a single patch file in the following format.
  <patch>
  diff --git a/file.py b/file.py
  --- a/file.py
  +++ b/file.py
  @@ -1,27 +1,35 @@
   def euclidean(a, b):
  -    while b:
  -        a, b = b, a % b
  -    return a
  +    if b == 0:
  +        return a
  +    return euclidean(b, a % b)
   
   
   def bresenham(x0, y0, x1, y1):
       points = []
       dx = abs(x1 - x0)
       dy = abs(y1 - y0)
  -    sx = 1 if x0 < x1 else -1
  -    sy = 1 if y0 < y1 else -1
  -    err = dx - dy
  +    x, y = x0, y0
  +    sx = -1 if x0 > x1 else 1
  +    sy = -1 if y0 > y1 else 1
   
  -    while True:
  -        points.append((x0, y0))
  -        if x0 == x1 and y0 == y1:
  -            break
  -        e2 = 2 * err
  -        if e2 > -dy:
  -            err -= dy
  -            x0 += sx
  -        if e2 < dx:
  -            err += dx
  -            y0 += sy
  +    if dx > dy:
  +        err = dx / 2.0
  +        while x != x1:
  +            points.append((x, y))
  +            err -= dy
  +            if err < 0:
  +                y += sy
  +                err += dx
  +            x += sx
  +    else:
  +        err = dy / 2.0
  +        while y != y1:
  +            points.append((x, y))
  +            err -= dx
  +            if err < 0:
  +                x += sx
  +                err += dy
  +            y += sy
  +
  +    points.append((x, y))
       return points
  
  </patch>
golden_diff: diff --git a/module/plugins/hooks/LinkdecrypterComHook.py b/module/plugins/hooks/LinkdecrypterComHook.py
  --- a/module/plugins/hooks/LinkdecrypterComHook.py
  +++ b/module/plugins/hooks/LinkdecrypterComHook.py
  @@ -21,6 +21,7 @@
       __license__     = "GPLv3"
       __authors__     = [("Walter Purcaro", "vuolter@gmail.com")]
   
  +    COOKIES = False
   
       def get_hosters(self):
           list = re.search(r'>Supported\(\d+\)</b>: <i>(.[\w.\-, ]+)',
  
verification_info: {"golden_diff": "diff --git a/module/plugins/hooks/LinkdecrypterComHook.py b/module/plugins/hooks/LinkdecrypterComHook.py\n--- a/module/plugins/hooks/LinkdecrypterComHook.py\n+++ b/module/plugins/hooks/LinkdecrypterComHook.py\n@@ -21,6 +21,7 @@\n     __license__     = \"GPLv3\"\n     __authors__     = [(\"Walter Purcaro\", \"vuolter@gmail.com\")]\n \n+    COOKIES = False\n \n     def get_hosters(self):\n         list = re.search(r'>Supported\\(\\d+\\)</b>: <i>(.[\\w.\\-, ]+)',\n", "issue": "HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' \n03.08.2015 20:46:43 INFO    Free space: 6.48 TiB\n630 03.08.2015 20:46:43 INFO    Activating Accounts...\n631 03.08.2015 20:46:43 INFO    Activating Plugins...\n632 03.08.2015 20:46:43 WARNING HOOK AntiStandby: Unable to change system power state | [Errno 2] No such file or directory\n633 03.08.2015 20:46:43 WARNING HOOK AntiStandby: Unable to change display power state | [Errno 2] No such file or directory\n634 03.08.2015 20:46:43 INFO    HOOK XFileSharingPro: Handling any hoster I can!\n635 03.08.2015 20:46:43 WARNING HOOK UpdateManager: Unable to retrieve server to get updates\n636 03.08.2015 20:46:43 INFO    HOOK XFileSharingPro: Handling any crypter I can!\n637 03.08.2015 20:46:43 INFO    pyLoad is up and running\n638 03.08.2015 20:46:45 INFO    HOOK LinkdecrypterCom: Reloading supported crypter list\n639 03.08.2015 20:46:45 WARNING HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' | Waiting 1 minute and retry\n640 03.08.2015 20:46:53 INFO    HOOK ClickAndLoad: Proxy listening on 127.0.0.1:9666\n641 03.08.2015 20:46:53 INFO    HOOK LinkdecrypterCom: Reloading supported crypter list\n642 03.08.2015 20:46:53 WARNING HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' | Waiting 1 minute and retry\n643 03.08.2015 20:47:45 WARNING HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' | Waiting 1 minute and retry\n644 03.08.2015 20:47:53 WARNING HOOK LinkdecrypterCom: 'LinkdecrypterComHook' object has no attribute 'COOKIES' | Waiting 1 minute and retry\n\n", "before_files": [{"content": "# -*- coding: utf-8 -*-\n\nimport re\n\nfrom module.plugins.internal.MultiHook import MultiHook\n\n\nclass LinkdecrypterComHook(MultiHook):\n    __name__    = \"LinkdecrypterComHook\"\n    __type__    = \"hook\"\n    __version__ = \"1.07\"\n    __status__  = \"testing\"\n\n    __config__ = [(\"activated\"     , \"bool\"               , \"Activated\"                    , True ),\n                  (\"pluginmode\"    , \"all;listed;unlisted\", \"Use for plugins\"              , \"all\"),\n                  (\"pluginlist\"    , \"str\"                , \"Plugin list (comma separated)\", \"\"   ),\n                  (\"reload\"        , \"bool\"               , \"Reload plugin list\"           , True ),\n                  (\"reloadinterval\", \"int\"                , \"Reload interval in hours\"     , 12   )]\n\n    __description__ = \"\"\"Linkdecrypter.com hook plugin\"\"\"\n    __license__     = \"GPLv3\"\n    __authors__     = [(\"Walter Purcaro\", \"vuolter@gmail.com\")]\n\n\n    def get_hosters(self):\n        list = re.search(r'>Supported\\(\\d+\\)</b>: <i>(.[\\w.\\-, ]+)',\n                         self.load(\"http://linkdecrypter.com/\").replace(\"(g)\", \"\")).group(1).split(', ')\n        try:\n            list.remove(\"download.serienjunkies.org\")\n        except ValueError:\n            pass\n\n        return list\n", "path": "module/plugins/hooks/LinkdecrypterComHook.py"}]}