This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from ctypes import c_char_p | |
from flask import Flask, Response, request | |
from multiprocessing import Lock, Manager, Process | |
from pprint import pprint | |
from requests import Session, get, post | |
from requests.adapters import HTTPAdapter | |
from requests.exceptions import ConnectionError, HTTPError | |
from secrets import token_urlsafe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Directory structure should be as follows: | |
<test directory, you need write access to this> | |
-> dotest.sh | |
-> functions.sh | |
-> testreqs.package.use | |
-> $(hostname -s) | |
-> settings.sh | |
You execute from inside $(hostname -s) like: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from datetime import date | |
from os import system | |
from requests import Session | |
from sys import argv | |
USERNAME = "" | |
PASSWORD = "" | |
URL = "https://wiki.gentoo.org/api.php" | |
WIKIPAGE = "User:Matoro/ARCHtesting" | |
REPO = "" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pMb8TW |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/trackma/lib/libmal.py b/trackma/lib/libmal.py | |
index 5d2fb01..c04f977 100644 | |
--- a/trackma/lib/libmal.py | |
+++ b/trackma/lib/libmal.py | |
@@ -338,7 +338,7 @@ class libmal(lib): | |
show_id = item['anime_id'] | |
show.update({ | |
'id': show_id, | |
- 'title': item['anime_title'], | |
+ 'title': str(item['anime_title']), |