From 34203f7b115ebfd5a74160bfb01c0d4abc71a2e0 Mon Sep 17 00:00:00 2001 From: Krytarik Raido Date: Thu, 28 Jan 2021 05:04:04 +0100 Subject: [PATCH] Encyclopedia: Update Python shebangs. --- Encyclopedia/__init__.py | 2 +- Encyclopedia/factoids.cgi | 2 +- Encyclopedia/sqlite2to3.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Encyclopedia/__init__.py b/Encyclopedia/__init__.py index b2f4261..7e4b08e 100644 --- a/Encyclopedia/__init__.py +++ b/Encyclopedia/__init__.py @@ -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'], diff --git a/Encyclopedia/factoids.cgi b/Encyclopedia/factoids.cgi index 23f4d3e..087f62f 100755 --- a/Encyclopedia/factoids.cgi +++ b/Encyclopedia/factoids.cgi @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 ### # Copyright (c) 2006-2007 Dennis Kaarsemaker # Copyright (c) 2008-2009 Terence Simpson diff --git a/Encyclopedia/sqlite2to3.py b/Encyclopedia/sqlite2to3.py index c71df58..ea9baee 100755 --- a/Encyclopedia/sqlite2to3.py +++ b/Encyclopedia/sqlite2to3.py @@ -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