Encyclopedia: Update Python shebangs.

This commit is contained in:
Krytarik Raido 2021-01-28 05:04:04 +01:00
parent b4cde99a4d
commit 34203f7b11
3 changed files with 5 additions and 5 deletions

View File

@ -24,7 +24,7 @@ import supybot
import supybot.world as world
from importlib import reload
__version__ = "3.3.0"
__version__ = "3.3.1"
__author__ = supybot.Author("Krytarik Raido", "krytarik", "krytarik@gmail.com")
__contributors__ = {
supybot.Author("Dennis Kaarsemaker", "Seveas", "dennis@kaarsemaker.net"): ['Original Author'],

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
###
# Copyright (c) 2006-2007 Dennis Kaarsemaker
# Copyright (c) 2008-2009 Terence Simpson

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
# -*- Encoding: utf-8 -*-
###
# Copyright (c) 2018 Krytarik Raido
@ -28,7 +28,7 @@ class Factoid:
try:
self.name = name.decode('cp1252')
except UnicodeDecodeError as e:
print '%s: %s' % (e, name)
print '%s: %s' % (e, name)
return
try:
self.value = value.decode('ascii')
@ -39,7 +39,7 @@ class Factoid:
try:
self.value = value.decode('cp1252')
except UnicodeDecodeError as e:
print '%s: %s' % (e, value)
print '%s: %s' % (e, value)
return
self.author = author; self.added = added
self.editor = editor; self.edited = edited