Shebang
This commit is contained in:
parent
676860c368
commit
c105428ec5
1 changed files with 3 additions and 1 deletions
4
calendarparser.py
Normal file → Executable file
4
calendarparser.py
Normal file → Executable file
|
@ -1,3 +1,5 @@
|
|||
#!/usr/bin/env python3
|
||||
|
||||
import requests
|
||||
import json
|
||||
import icalendar
|
||||
|
@ -57,4 +59,4 @@ for key, value in events['results'].items():
|
|||
|
||||
f = open(sys.argv[1], 'wb')
|
||||
f.write(cal.to_ical())
|
||||
f.close()
|
||||
f.close()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue