summaryrefslogtreecommitdiff
path: root/client/modules/News.py
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-09-06 10:23:05 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2014-09-06 10:23:05 +0200
commitc231090615f552adab46f5ac6fe31aa632588edf (patch)
treeaa708d12bc02fb481d296a062dbd5b530671f435 /client/modules/News.py
parentb6e43491ca4a3ef3d0efe73c48c44b91982a96f6 (diff)
downloadjasper-client-c231090615f552adab46f5ac6fe31aa632588edf.tar.gz
jasper-client-c231090615f552adab46f5ac6fe31aa632588edf.zip
Add shebang and PEP 0263 source encoding to every module
Source encoding should be specified and a shebang helps to execute a module directly (either to start jasper or just for testing purposes).
Diffstat (limited to 'client/modules/News.py')
-rw-r--r--client/modules/News.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/modules/News.py b/client/modules/News.py
index 8b4b9a3..56ea000 100644
--- a/client/modules/News.py
+++ b/client/modules/News.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python2
+# -*- coding: utf-8-*-
import feedparser
import app_utils
import re