SHARE
TWEET

Untitled

a guest Oct 23rd, 2019 113 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- original/file_to_fix.py
  2. +++ fixed/file_to_fix.py
  3. @@ -37,12 +37,14 @@
  4.          print(Back.GREEN + Fore.BLACK + current_msg +
  5.                Back.RESET + Fore.RESET + "")
  6.  
  7. +
  8.  def store_messages(raw_msg):
  9.      f = open('messages/message.txt', 'a')
  10.      f.write('%s\\\\t' % datetime.now().strftime('%Y-%m-%d %H:%M'))
  11.      f.write('%s\\t' % current_user)
  12.      f.write('%s\\n' % raw_msg)
  13.      f.close()
  14. +
  15.  
  16.  def main():
  17.      try:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top