rename file ponysay to ponysay.py

This commit is contained in:
Mattias Andrée 2012-09-29 22:55:59 +02:00
parent 46544c3822
commit 04aae4a3aa
2 changed files with 1 additions and 1 deletions

View file

View file

@ -371,7 +371,7 @@ class Setup():
(fileout, filein) = (None, None)
try:
fileout = open('ponysay.install', 'wb+')
filein = open('ponysay', 'rb')
filein = open('ponysay.py', 'rb')
data = filein.read().decode('utf-8', 'replace')
if '#!/usr/bin/env python3' in data: