1. Leah Hanson
  2. haiku-dropbox-client

Commits

Leah Hanson  committed 6ac7c94

improved compliance with tests by trimming trailing newlines on 'rename path string' returned by db_put script

  • Participants
  • Parent commits af78a7f
  • Branches default

Comments (0)

Files changed (1)

File HaikuDropbox.cpp

View file
   }
   printf("output:|%s|\n",output->String());
   return output;
-
 }
 
 // Talk to Dropbox
   strcpy(not_const2,filepath);
   argv[1] = not_const2;
 
-  return run_python_script(argv,3);
+  BString *result = run_python_script(argv,3);
+  result->RemoveAll("\n"); //trim trailing new lines
+  return result;
 }
 
 /*