diff --git a/update.py b/update.py index cc5b86b..2f0ca0e 100644 --- a/update.py +++ b/update.py @@ -325,7 +325,7 @@ def main(argv): ) if not os.path.isfile('.gitignore'): print('- creating .gitignore') - with open('.gitignore'), 'w') as f: + with open('.gitignore', 'w') as f: f.write('*.pyc\n') print('- fetching lib/config.py') fetch_url(