From 904682c187a21dc5de84d1aa78a5c2436d6ccb68 Mon Sep 17 00:00:00 2001 From: Eduard Iskandarov Date: Sun, 18 Dec 2016 07:11:54 +0300 Subject: [PATCH] fix polls demo run application (#1487) * fix polls demo run application * update contributors and changes files --- CHANGES.rst | 2 ++ CONTRIBUTORS.txt | 1 + demos/polls/aiohttpdemo_polls/__main__.py | 3 ++- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 6636624fee9..d17a1320b90 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -65,3 +65,5 @@ CHANGES - Fix bug with https proxy acquired cleanup #1340 - Use UTF-8 as the default encoding for multipart text parts #1484 + +- Fix polls demo run application diff --git a/CONTRIBUTORS.txt b/CONTRIBUTORS.txt index 2d1bac161b7..8681f0c86ae 100644 --- a/CONTRIBUTORS.txt +++ b/CONTRIBUTORS.txt @@ -51,6 +51,7 @@ Dmitry Shamov Dmitry Trofimov Dmytro Kuznetsov Dustin J. Mitchell +Eduard Iskandarov Elizabeth Leddy Enrique Saez Erich Healy diff --git a/demos/polls/aiohttpdemo_polls/__main__.py b/demos/polls/aiohttpdemo_polls/__main__.py index 7fc6d134850..1ea11eb3a16 100644 --- a/demos/polls/aiohttpdemo_polls/__main__.py +++ b/demos/polls/aiohttpdemo_polls/__main__.py @@ -1,3 +1,4 @@ +import sys from aiohttpdemo_polls.main import main -main() +main(sys.argv[1:])