Commit 014f5a2910542b554c48eab7870106f65e7e2ba0

Authored by Adhidarma Hadiwinoto
1 parent 8a2df7fe26
Exists in master

bugfix getpid

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -701,6 +701,6 @@ def saveSimCardInfoToRedis(imsi, msisdn):
701 701  
702 702 if __name__ == '__main__':
703 703 pidfile = open('pid.txt', 'w')
704   - pidfile.write(getpid())
  704 + pidfile.write(str(getpid()))
705 705 pidfile.close()
706 706 main()