
def readKey(keyFileName):
    return open("../options-and-settings/api-keys/" + keyFileName, "r").readline()



def readKey(keyFileName):
    return open("../options-and-settings/api-keys/" + keyFileName, "r").readline().rstrip('\n').rstrip('\r')


Remove newline and carraige return characters from key files so that API calls work
Remove newline and carraige return characters from key files so that API calls work

  
  def readKey(keyFileName):
-     return open("../options-and-settings/api-keys/" + keyFileName, "r").readline()
+     return open("../options-and-settings/api-keys/" + keyFileName, "r").readline().rstrip('\n').rstrip('\r')
  
  
Remove newline and carraige return characters from key files so that API calls work
## Code Before:

def readKey(keyFileName):
    return open("../options-and-settings/api-keys/" + keyFileName, "r").readline()


## Instruction:
Remove newline and carraige return characters from key files so that API calls work
## Code After:

def readKey(keyFileName):
    return open("../options-and-settings/api-keys/" + keyFileName, "r").readline().rstrip('\n').rstrip('\r')

