[Sugar-devel] moving datastore projects via usb sticks?
Erik Blankinship
erikb at mediamods.com
Thu Dec 30 23:33:42 EST 2010
On Thu, Dec 30, 2010 at 10:26 PM, James Cameron <quozl at laptop.org> wrote:
> On Thu, Dec 30, 2010 at 10:06:15PM -0500, Erik Blankinship wrote:
> > I check to see if the file_path ends in gtar or tar (presumably
> > assigned by the datastore mime-type?) and some debugging tells me it
> > does not. Instead I get a path
> > /home/olpc/.sugar/default/data/rawobject3dkJYR
>
> I don't think the datastore is intended to add a valid extension to the
> path. Can you not rely on the mime-type instead? What does the
> datastore say the mime-type is?
The mime type is reported correctly off of the usb, so I can use that
instead of extension.
Thanks much for your help everyone!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20101230/e673593a/attachment.html>
More information about the Sugar-devel
mailing list