From cc67073471b5dabdb1b8b3193164a60ba64832f3 Mon Sep 17 00:00:00 2001 From: Robert Hafner Date: Sun, 22 May 2016 14:49:33 -0700 Subject: [PATCH] removed scriptine dependency --- requirements.txt | 1 - screeps_notify/notify.py | 5 ++--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index f89cf6a..1767528 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,6 +5,5 @@ PyYAML==3.11 requests==2.10.0 Requires==0.0.3 -e git+https://github.com/tedivm/python-screeps.git@c300073133dcd08d2d5f100a1a006bda60d9ce05#egg=screeps -scriptine==0.2.1 six==1.10.0 twilio==5.4.0 diff --git a/screeps_notify/notify.py b/screeps_notify/notify.py index b8e94d4..014a927 100755 --- a/screeps_notify/notify.py +++ b/screeps_notify/notify.py @@ -53,7 +53,7 @@ def sendSMS(message): print(message.sid) sendSMS.client = False -def notify_command(): +def main(): notifications = getNotifications() if len(notifications) <= 0: @@ -69,5 +69,4 @@ def notify_command(): clearNotifications(limit) if __name__ == '__main__': - import scriptine - scriptine.run() + main()