chg: [Cryptocurrency, RegexTracker] uptdate cryptocurrency list + fix: RegexTracker typo

This commit is contained in:
Terrtia 2019-09-22 14:57:23 +02:00
parent 30fd361e1c
commit 839443500d
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ if __name__ == "__main__":
try:
matched = dict_regex_tracked[regex].search(item_content)
except TimeoutException:
print ("{0} processing timeout".format(paste.p_rel_path))
print ("{0} processing timeout".format(item_id))
continue
else:
signal.alarm(0)

View file

@ -34,7 +34,7 @@ PASTES_FOLDER = Flask_config.PASTES_FOLDER
hashDecoded = Blueprint('hashDecoded', __name__, template_folder='templates')
## TODO: put me in option
all_cryptocurrency = ['bitcoin', 'monero']
all_cryptocurrency = ['bitcoin', 'ethereum', 'bitcoin-cash', 'litecoin', 'monero', 'zcash', 'dash']
all_pgpdump = ['key', 'name', 'mail']
# ============ FUNCTIONS ============