Skip to content

Commit

Permalink
Merge pull request #75 from doodspav/patch-3
Browse files Browse the repository at this point in the history
Update config.py
  • Loading branch information
fadhiilrachman authored Oct 4, 2018
2 parents 5929593 + 9c6b5bc commit 6809d33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion linepy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,6 @@ class Config(object):
EMAIL_REGEX = re.compile(r"[^@]+@[^@]+\.[^@]+")

def __init__(self):
self.APP_NAME = '%s\t%s\t%s\t%s' % (self.APP_TYPE, self.APP_VER, self.SYSTEM_NAME, self.SYSTEM_VER)
#sniff chrome headers and use those instead, because these will get you messagebanned
self.USER_AGENT = 'Line/%s' % self.APP_VER
self.APP_NAME = '%s\t%s\t%s\t%s' % (self.APP_TYPE, self.APP_VER, self.SYSTEM_NAME, self.SYSTEM_VER)

0 comments on commit 6809d33

Please sign in to comment.