Nattiden hace 2 años
padre
commit
7d563465bb
Se han modificado 2 ficheros con 4 adiciones y 2 borrados
  1. 2 1
      .gitignore
  2. 2 1
      Modules/GetLink.py

+ 2 - 1
.gitignore

@@ -3,4 +3,5 @@
 /Cache
 */Private
 __pycache__
-.DS_Store
+.DS_Store
+Log

+ 2 - 1
Modules/GetLink.py

@@ -34,4 +34,5 @@ def get_link(link_type,link_key=None,**kwargs):
         raise KeyError()
     if link_type == 'Official' and name not in data:
         return gen_official_link(name)
-    return data[name]
+    result = data.get(name)
+    return result if result else ""