| skipped 62 lines |
63 | 63 | | self.cd="" |
64 | 64 | | self.do_x=0 |
65 | 65 | | |
| 66 | + | # |
| 67 | + | self.sep=os.sep |
| 68 | + | |
66 | 69 | | #cli: |
67 | 70 | | def cli(self): |
68 | 71 | | #logo |
| skipped 305 lines |
374 | 377 | | if outpath=="": |
375 | 378 | | outpath=os.path.abspath(os.getcwd()) |
376 | 379 | | |
377 | | - | if outpath[-1]!="/": |
378 | | - | outpath+="/" |
| 380 | + | if outpath[-1]!=self.sep: |
| 381 | + | outpath+=self.sep |
379 | 382 | | |
380 | 383 | | down_path=outpath+""+path_x |
381 | 384 | | |
| skipped 26 lines |