From 96096d7b003af74d9c0fcd641ec5c228db2202dd Mon Sep 17 00:00:00 2001 From: Paul Woolcock Date: Fri, 16 Feb 2018 23:34:21 -0500 Subject: [PATCH] no need for `sys.argv` anymore --- fediplay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fediplay.py b/fediplay.py index ccab9fd..c9eefa4 100644 --- a/fediplay.py +++ b/fediplay.py @@ -111,7 +111,7 @@ def build_play_command(filename): def main(): from getpass import getpass from os import path - from sys import exit, argv + from sys import exit api_base_url = environ.get('FEDIPLAY_API_BASE_URL') if not api_base_url: