@@ -1,8 +1,6 | |||
|
1 | #import sys | |
|
2 | #from subprocess import * | |
|
3 | ||
|
4 | 1 |
|
|
5 | 2 | # def __init__(self): |
|
3 | ||
|
6 | 4 | from subprocess import * |
|
7 | 5 | import sys |
|
8 | 6 | import os |
@@ -1,7 +1,7 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE Project SYSTEM "Project-4.6.dtd"> |
|
3 | 3 | <!-- eric4 project file for project jro_backup_manager --> |
|
4 |
<!-- Saved: 2010-05-16, |
|
|
4 | <!-- Saved: 2010-05-16, 21:21:21 --> | |
|
5 | 5 | <!-- Copyright (C) 2010 , --> |
|
6 | 6 | <Project version="4.6"> |
|
7 | 7 | <Language>en</Language> |
@@ -19,6 +19,7 | |||
|
19 | 19 | <Source>ui/__init__.py</Source> |
|
20 | 20 | <Source>functions/__init__.py</Source> |
|
21 | 21 | <Source>functions/functions.py</Source> |
|
22 | <Source>functions/functions2.py</Source> | |
|
22 | 23 | </Sources> |
|
23 | 24 | <Forms> |
|
24 | 25 | <Form>ui/MainWindow.ui</Form> |
@@ -14,6 +14,7 | |||
|
14 | 14 | import subprocess |
|
15 | 15 | import commands |
|
16 | 16 | from functions import functions |
|
17 | from functions import functions2 | |
|
17 | 18 | |
|
18 | 19 | class MainWindow(QMainWindow, Ui_MainWindow): |
|
19 | 20 | """ |
@@ -366,8 +367,8 | |||
|
366 | 367 | lines=var_file.readlines() # Se lee las lineas en el archivo y se almacenan en la lista |
|
367 | 368 | |
|
368 | 369 | # Se crea el archivo .print |
|
369 |
var_file_print = open(var_Rpath_ppath+"/"+self.txtElabel.text()+"_"+ |
|
|
370 |
var_file_print.write(self.txtElabel.text()+" "+ |
|
|
370 | var_file_print = open(var_Rpath_ppath+"/"+self.txtElabel.text()+"_"+functions.i2s(var_n)+".print","w") | |
|
371 | var_file_print.write(self.txtElabel.text()+" "+functions.i2s(var_n)+"/"+str(self.var_n_files)+"\n") | |
|
371 | 372 | var_file_print.write("Year Doy Folder Set Time range\n") |
|
372 | 373 | |
|
373 | 374 | #Se crean los archivos .print con los cuales se crearan los archivos .ps |
@@ -446,7 +447,7 | |||
|
446 | 447 | for var_n in range(0, self.var_n_files+1): |
|
447 | 448 | print var_n |
|
448 | 449 | |
|
449 |
file_iso=var_Rpath_iso+"/"+ |
|
|
450 | file_iso=var_Rpath_iso+"/"+functions.i2s(var_n)+".iso" | |
|
450 | 451 | file_dat=var_Rpath_ppath+"/"+self.txtElabel.text()+"_"+functions.i2s(var_n)+".dat" |
|
451 | 452 | |
|
452 | 453 | var_cmd = 'genisoimage -hide-joliet-trans-tbl -joliet-long -r ' |
General Comments 0
You need to be logged in to leave comments.
Login now